Skip to content

Commit

Permalink
fix UnitaryOverlap docstring tex (#12306)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed May 1, 2024
1 parent c60a1ed commit b40a34e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiskit/circuit/library/overlap.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class UnitaryOverlap(QuantumCircuit):
names `"p1"` (for circuit ``unitary1``) and `"p2"` (for circuit ``unitary_2``) in the output
circuit.
This circuit is usually employed in computing the fidelity::
This circuit is usually employed in computing the fidelity:
.. math::
.. math::
\left|\langle 0| U_2^{\dag} U_1|0\rangle\right|^{2}
\left|\langle 0| U_2^{\dag} U_1|0\rangle\right|^{2}
by computing the probability of being in the all-zeros bit-string, or equivalently,
the expectation value of projector :math:`|0\rangle\langle 0|`.
Expand Down

0 comments on commit b40a34e

Please sign in to comment.