diff --git a/qlasskit/qcircuit/exporter_cirq.py b/qlasskit/qcircuit/exporter_cirq.py index ed27408..56ce0b0 100644 --- a/qlasskit/qcircuit/exporter_cirq.py +++ b/qlasskit/qcircuit/exporter_cirq.py @@ -47,7 +47,7 @@ def _decompose_(self, qubits): gg = cirq.ControlledGate( sub_gate=cirq.X, num_controls=len(w) - 1 ) - yield gg(list(map(lambda wx: qubits[w], w))) + yield gg(*(qubits[i] for i in w)) elif isinstance(g, gates.MCtrl) and isinstance(g.gate, gates.Z): gg = cirq.ControlledGate(