quri_parts.cirq.circuit package#

convert_gate(gate)#

Converts a QuantumGate to cirq.Operation.

Parameters:

gate (QuantumGate) –

Return type:

Operation

convert_circuit(circuit)#

Converts a NonParametricQuantumCircuit to cirq.Circuit.

Parameters:

circuit (NonParametricQuantumCircuit) –

Return type:

Circuit

CirqSetTranspiler()#
circuit_from_cirq(cirq_circuit)#

Converts a cirq.Circuit to NonParametricQuantumCircuit.

Parameters:

cirq_circuit (Circuit) –

Return type:

NonParametricQuantumCircuit

Submodules#