I am constructing generic circuits, and I would like to change the qubits after creating the circuits. Is there a way in cirq to do so? for instance:
circuit = cirq.Circuit(cirq.X.on(cirq.GridQubit(0, 1)))
and I would like this circuit to be transformed into:
cirq.Circuit(cirq.X.on(cirq.GridQubit(5, 7)))