tqec.plaquette.qubit.PlaquetteQubit
- class PlaquetteQubit(position: Position2D)[source]
Defines a qubit in the plaquette coordinate system.
This class initially had more attributes, which ended-up being flagged as superfluous and so have been removed. For now, it only stores the position of the qubit in the plaquette coordinate system and implements an helper method to get a cirq.GridQubit instance.
- __init__(position: Position2D) None
Methods
__init__
(position)to_grid_qubit
()Attributes
position