qbraid.transpiler.convert_from_cirq
- convert_from_cirq(circuit, frontend)[source]
Converts a Cirq circuit to a type specified by the conversion type.
- Parameters
circuit (
Circuit
) – Cirq circuit to convert.frontend (
str
) – String specifier for the converted circuit type.
- Raises
ProgramTypeError – If the input quantum program is not supported.
CircuitConversionError – If the input quantum program could not be converted.
- Returns
A
conversion_type
quantum circuit / program.- Return type