quri_parts.circuit.transpile.multi_pauli_decomposer module#

class 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)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]

class 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)#

Describe the specific decomposition process. Only the target gates satisfying is_target_gate() method are passed.

Parameters:

gate (QuantumGate) – The gates to be decomposed.

Return type:

Sequence[QuantumGate]