Skip to content

Commit

Permalink
Merge branch 'fix-pauli-setter-propagate-info' of https://github.com/…
Browse files Browse the repository at this point in the history
…atharva-satpute/qiskit-terra into fix-pauli-setter-propagate-info
  • Loading branch information
atharva-satpute committed Jul 18, 2023
2 parents 8821ebf + 161272e commit b6a2891
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def paulis(self, value):
if len(value) != len(self.paulis):
raise ValueError(f"Length must match; expected: {len(self.paulis)} got: {len(value)}")
self._pauli_list = value
super().__init__(num_qubits=self._pauli_list.num_qubits)

@property
def coeffs(self):
Expand Down

0 comments on commit b6a2891

Please sign in to comment.