class cirq.NamedQubit(name: str)[source]

A qubit identified by name.

By default, NamedQubit has a lexicographic order. However, numbers within
the name are handled correctly. So, for example, if you print a circuit
containing cirq.NamedQubit('qubit22') and cirq.NamedQubit('qubit3'), the
wire for ‘qubit3’ will correctly come before ‘qubit22’.
__init__(name: str) → None[source]

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