cirq.SupportsExplicitNumQubits

class cirq.SupportsExplicitNumQubits(*args, **kwds)[source]
A unitary, channel, mixture or other object that operates on a known
number of qubits.
__init__(*args, **kwargs)

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

Methods

_num_qubits_()

The number of qubits, qudits, or qids this object operates on.