Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Jul 17, 2024
1 parent a1bfea9 commit 790f705
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pennylane_qiskit/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,11 +1081,6 @@ def load_noise_model(noise_model, **kwargs) -> qml.NoiseModel:
>>> noise_model = noise.NoiseModel()
>>> noise_model.add_all_qubit_quantum_error(error_1, ['rz', 'ry'])
>>> noise_model.add_all_qubit_quantum_error(error_2, ['cx'])
>>> load_noise_model(noise_model)
NoiseModel({
OpIn(['RZ', 'RY']): QubitChannel(Klist=Tensor(4, 4, 4))
OpIn(['CNOT']): QubitChannel(Klist=Tensor(16, 4, 4))
})
This noise model can be converted into PennyLane using:
Expand Down

0 comments on commit 790f705

Please sign in to comment.