quri_parts.core.circuit.exp_single_pauli_gate module#

convert_exp_single_pauli_gate(pauli, coef)#

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.

Parameters:
  • pauli (PauliLabel) – PauliLabel for the exponentiated single Pauli.

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

Return type:

QuantumGate