cirq.SupportsExplicitQidShape

class cirq.SupportsExplicitQidShape(*args, **kwds)[source]
A unitary, channel, mixture or other object that operates on a known
number qubits/qudits/qids, each with a specific number of quantum levels.
__init__(*args, **kwargs)

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

Methods

_qid_shape_()

A tuple specifying the number of quantum levels of each qid this