cirq.identity_each

cirq.identity_each(*qubits: cirq.Qid) → cirq.Operation[source]

Returns a single IdentityGate applied to all the given qubits.

Parameters

*qubits – The qubits that the identity gate will apply to.

Returns

An identity operation on the given qubits.

Raises

ValueError if the qubits are not instances of Qid.