TwoQubitControlledUDecomposer
class qiskit.synthesis.TwoQubitControlledUDecomposer(rxx_equivalent_gate, euler_basis='ZXZ')
Bases: object
Decompose two-qubit unitary in terms of a desired gate that is locally equivalent to an RXXGate
.
Initialize the KAK decomposition.
Parameters
- rxx_equivalent_gate (Type[Gate]) – Gate that is locally equivalent to an
RXXGate
: gate. Valid options are [RZZGate
,RXXGate
,RYYGate
,RZXGate
,CPhaseGate
,CRXGate
,CRYGate
,CRZGate
]. - euler_basis (str) – Basis string to be provided to
OneQubitEulerDecomposer
for 1Q synthesis. Valid options are ['ZXZ'
,'ZYZ'
,'XYX'
,'XZX'
,'U'
,'U3'
,'U321'
,'U1X'
,'PSX'
,'ZSX'
,'ZSXX'
,'RR'
].
Raises
QiskitError – If the gate is not locally equivalent to an RXXGate
.
Was this page helpful?
Report a bug or request content on GitHub.