cirq.Operation

class cirq.Operation[source]

An effect applied to a collection of qubits.

The most common kind of Operation is a GateOperation, which separates its
effect into a qubit-independent Gate and the qubits it should be applied to.
__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

controlled_by(*control_qubits) Returns a controlled version of this operation.
transform_qubits(func, cirq.ops.raw_types.Qid]) Returns the same operation, but with different qubits.
with_qubits(*new_qubits)

Attributes

qubits