cirq.IdentityOperation

class cirq.IdentityOperation[source]

An application of the identity gate to a sequence of qubits.

__init__()

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

Methods

controlled_by(*control_qubits[, control_values])

Returns a controlled version of this operation. If no control_qubits

transform_qubits(func)

Returns the same operation, but with different qubits.

validate_args(qubits)

Raises an exception if the qubits don’t match this operation’s qid

with_qubits(*new_qubits)

Returns the same operation, but applied to different qubits.

Attributes

gate

qubits