tqec.utils#
Defines a few core data-structures that are independent of other tqec
modules.
The goal of this module is to host data-structures that do not clearly belong to
another existing tqec
sub-module and that also do not import any code from
the other tqec
sub-modules.
Functions
|
Try to round the provided |
Classes
|
Represents the position of a block on a 2-dimensional plane. |
|
Axis directions in the 3D spacetime diagram. |
|
Represents a linear function. |
|
|
|
Either horizontal or vertical orientation. |
|
Represents the position of a physical qubit on a 2-dimensional plane. |
|
Represents the position of a plaquette on a 2-dimensional plane. |
|
A 3D integer position. |
|
A pair of scalable quantities. |
|
|
|
|
|
Signed directions in the 3D spacetime diagram. |
Exceptions