qbraid.transpiler.conversions.braket.braket_to_cirq
- braket_to_cirq(circuit)[source]
Returns a Cirq circuit equivalent to the input Braket circuit.
Note: The returned Cirq circuit acts on cirq.LineQubit’s with indices equal to the qubit indices of the Braket circuit.
- Parameters:
circuit (
Circuit
) – Braket circuit to convert to a Cirq circuit.- Return type:
Circuit
- Returns:
Cirq circuit equivalent to the input Braket circuit.