Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Jul 15, 2024
1 parent c2af70d commit ff73066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pennylane_qiskit/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ def load_noise_model(noise_model, **kwargs) -> qml.NoiseModel:
repeat=2
)
]
pauli_prob = error_2.probabilities
kraus_ops = [np.sqrt(prob) * kraus_op for prob, kraus_op in zip(pauli_prob, pauli_mats)]
pauli_prob = np.sqrt(error_2.probabilities)
kraus_ops = [prob * kraus_op for prob, kraus_op in zip(pauli_prob, pauli_mats)]
c0 = qml.noise.op_eq(qml.RZ) | qml.noise.op_eq(qml.RY)
c1 = qml.noise.op_eq(qml.CNOT)
Expand Down

0 comments on commit ff73066

Please sign in to comment.