qbraid.transpiler.conversions.cirq.cirq_to_qasm2

cirq_to_qasm2(circuit, header=None, precision=10, qubit_order=cirq.ops.QubitOrder.DEFAULT)[source]

Returns a QASM string representing the input Cirq circuit.

Parameters:

circuit (Circuit) – Cirq circuit to convert to a QASM string.

Returns:

QASM string equivalent to the input Cirq circuit.

Return type:

Qasm2StringType