Skip to content

Commit af659e2

Browse files
authored
Fix TwoQubitWeylDecomposition docstring (#12022)
1 parent 2369761 commit af659e2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

qiskit/synthesis/two_qubit/two_qubit_decompose.py

+3-7
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,9 @@ class TwoQubitWeylDecomposition:
118118
119119
\pi /4 \geq a \geq b \geq |c|
120120
121-
This is an abstract factory class that instantiates itself as specialized subclasses based on
122-
the fidelity, such that the approximation error from specialization has an average gate fidelity
123-
at least as high as requested. The specialized subclasses have unique canonical representations
124-
thus avoiding problems of numerical stability.
125-
126-
Passing non-None fidelity to specializations is treated as an assertion, raising QiskitError if
127-
forcing the specialization is more approximate than asserted.
121+
This class avoids some problems of numerical instability near high-symmetry loci within the Weyl
122+
chamber. If there is a high-symmetry gate "nearby" (in terms of the requested average gate fidelity),
123+
then it return a canonicalized decomposition of that high-symmetry gate.
128124
129125
References:
130126
1. Cross, A. W., Bishop, L. S., Sheldon, S., Nation, P. D. & Gambetta, J. M.,

0 commit comments

Comments
 (0)