quri_parts.circuit.transpile.multi_pauli_decomposer module#
- class quri_parts.circuit.transpile.multi_pauli_decomposer.PauliDecomposeTranspiler#
Bases:
GateKindDecomposer
CircuitTranspiler, which decompose multi-qubit Pauli gates into X, Y, and Z gates.
- property target_gate_names: Sequence[str]#
Returns the set of gate names to be decomposed.”.
- decompose(gate: QuantumGate) Sequence[QuantumGate] #
Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.
- Parameters:
gate – The gates to be decomposed.
- class quri_parts.circuit.transpile.multi_pauli_decomposer.PauliRotationDecomposeTranspiler#
Bases:
GateKindDecomposer
CircuitTranspiler, which decompose multi-qubit PauliRotation gates into H, RX, RZ, and CNOT gates.
- property target_gate_names: Sequence[str]#
Returns the set of gate names to be decomposed.”.
- decompose(gate: QuantumGate) Sequence[QuantumGate] #
Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.
- Parameters:
gate – The gates to be decomposed.