Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
gentinettagian committed Jul 7, 2022
1 parent b346945 commit 282c301
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qiskit/primitives/fidelity/base_fidelity.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ def __init__(
right_circuit: QuantumCircuit,
) -> None:
r"""Initializes the class to evaluate the fidelities defined as
:math:`|\langle\psi(x)|\phi(y)\rangle|^2`,
where :math:`x` and :math:`y` are optional parametrizations of the
states :math:`\psi` and :math:`\phi` prepared by the circuits
``left_circuit`` and ``right_circuit``, respectively.
Args:
left_circuit: (Parametrized) quantum circuit preparing :math:`|\psi\rangle`.
right_circuit: (Parametrized) quantum circuit preparing :math:`|\phi\rangle`.
Raises:
ValueError: ``left_circuit`` and ``right_circuit`` don't have the same number of qubits.
"""
Expand Down

0 comments on commit 282c301

Please sign in to comment.