Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Oct 28, 2024
1 parent b14890e commit 475279b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qibo/quantum_info/superoperator_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ def to_stinespring(
channel (ndarray): quantum channel.
nqubits (int, optional): total number of qubits in the system that is
interacting with the environment. Must be equal or greater than
the number of qubits ``kraus_ops`` acts on. If ``None``,
defaults to the number of qubits in ``kraus_ops``.
the number of qubits ``channel`` acts on. If ``None``,
defaults to the number of qubits in ``channel``.
Defauts to ``None``.
initial_state_env (ndarray, optional): statevector representing the
initial state of the enviroment. If ``None``, it assumes the
Expand All @@ -329,7 +329,7 @@ def to_stinespring(
:class:`qibo.backends.GlobalBackend`. Defaults to ``None``.
Returns:
ndarray: quantum channel in its Stinespring representation :math:`U_{0}`.
ndarray: Quantum channel in its Stinespring representation :math:`U_{0}`.
"""
backend = _check_backend(backend)

Expand Down

0 comments on commit 475279b

Please sign in to comment.