Skip to content

Commit

Permalink
Update operator tutorial to avoid deprecated Pauli construction (Qisk…
Browse files Browse the repository at this point in the history
…it/qiskit-tutorials#1339)

This commit updates the operator tutorial to avoid the deprecated Pauli
constructor kwarg, label. This has been deprecated since Qiskit Terra
0.17.0 and is pending removal in Qiskit/qiskit#8070. The label
kwarg isn't needed anymore as the Pauli string can just be input
directly as the first positional argument and the Pauli object will be
created just as with the label kwarg before.
  • Loading branch information
mtreinish authored Jun 23, 2022
1 parent b177a88 commit c2cf92b
Showing 1 changed file with 87 additions and 88 deletions.
Loading

0 comments on commit c2cf92b

Please sign in to comment.