quri_parts.stim.circuit package#

convert_circuit(circuit)#

Converts a NonParametricQuantumCircuit to stim.Circuit.

Parameters:

circuit (NonParametricQuantumCircuit) –

Return type:

Circuit

convert_gate(gate)#

Converts a QuantumGate to the list of the gate’s name and the qubit indices applied.

Parameters:

gate (QuantumGate) –

Return type:

Sequence[tuple[str, Sequence[int]]]