We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9b713 commit d33b1a7Copy full SHA for d33b1a7
cirq-core/cirq/ops/raw_types.py
@@ -230,7 +230,7 @@ def on(self, *qubits: Qid) -> 'Operation':
230
Returns: a `cirq.Operation` which is this gate applied to the given
231
qubits.
232
"""
233
- return ops.gate_operation.GateOperation(self, list(qubits))
+ return ops.gate_operation.GateOperation(self, qubits)
234
235
def on_each(self, *targets: Union[Qid, Iterable[Any]]) -> List['cirq.Operation']:
236
"""Returns a list of operations applying the gate to all targets.
0 commit comments