quri_parts.core.circuit.exp_single_pauli_gate module#

quri_parts.core.circuit.exp_single_pauli_gate.convert_exp_single_pauli_gate(pauli: PauliLabel, coef: float) QuantumGate#

Convert an exponentiated single Pauli \(\exp(i a P)\) to the PauliRotation gate, where \(a\) is a real number coefficient and \(P\) is a product of the Pauli.

  • pauliPauliLabel for the exponentiated single Pauli.

  • coef – A real number that is a coefficient of an exponentiated single Pauli.