OneQubitEulerDecomposer.__call__

OneQubitEulerDecomposer.__call__(unitary, simplify=True, atol=1e-12)[source]

Decompose single qubit gate into a circuit.

Parameters
  • unitary (Operator or Gate or array) – 1-qubit unitary matrix

  • simplify (bool) – reduce gate count in decomposition [Default: True].

  • atol (bool) – absolute tolerance for checking angles when simplifing returnd circuit [Default: 1e-12].

Returns

the decomposed single-qubit gate circuit

Return type

QuantumCircuit

Raises

QiskitError – if input is invalid or synthesis fails.