Skip to content

Commit

Permalink
doc fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Jul 15, 2024
1 parent 4b97f4d commit cfb6304
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 @@ -1050,7 +1050,7 @@ def _expr_eval_clvals(clbits, clvals, expr_func, bitwise=False):

def load_noise_model(noise_model, **kwargs) -> qml.NoiseModel:
"""Loads a PennyLane `NoiseModel <https://docs.pennylane.ai/en/stable/code/api/pennylane.NoiseModel.html>`_
from a Qiskit `NoiseModel <https://qiskit.github.io/qiskit-aer/stubs/qiskit_aer.noise.NoiseModel.html>`_.
from a Qiskit `noise model <https://qiskit.github.io/qiskit-aer/stubs/qiskit_aer.noise.NoiseModel.html>`_.
Args:
noise_model (qiskit_aer.noise.NoiseModel): A Qiskit noise model object
Expand All @@ -1075,7 +1075,7 @@ def load_noise_model(noise_model, **kwargs) -> qml.NoiseModel:
- **rtol** (*float*): the absolute tolernace parameters. Defualt value is ``1e-08``.
Returns:
qml.NoiseModel: An equivalent noise model constructed in PennyLane
pennylane.NoiseModel: An equivalent noise model constructed in PennyLane
Raises:
ValueError: When an encountered quantum error cannoted be converted.
Expand Down

0 comments on commit cfb6304

Please sign in to comment.