Creates a dimentions - to be used in a Vector or Operator object
Name of a dimension (e.g. "qubit", "spin", "x", etc)
Size of a dimension
Name of each coordinate
A symbol used for Dimension comparison
string with concat names
Retrieves a coordinates index from the coordinates list
one coord bame
error or the coord index
A string used for dimension equality test.
identification string
Test equality between two dimensions
dim1 === dim 2
Creates a copy with different coord names. Used in operators that change basis.
Overrides toString() method
formatted string
Concat the names od dimensions
Array of dimensions
Create dimension for direction
direction dimensions
Create dimension for polarization
denote basis, ['H', 'V'], ['D', 'A'] or ['L', 'R']
polarization dimension
Creates a dimension with positions from 0 to size-1
A positive integer - size of steps.
Dimension name, e.g. 'x', 'y' or 'z'.
Create dimension for qubit (an abstract two-level system)
denote basis, ['0', '1'], ['+', '-'] or ['+i', '-i']
qubit dimension
Create dimensions for n qubits.
Number of qubits.
Qubit dimensions.
Create dimension for spin
denote basis, ['u', 'd'], ['ux', 'dx'] or ['dy', 'dy']
spin dimensions
string, such as "udH" or ['u', 'd', 'H']
Dimensions to be used
Generated using TypeDoc
Dimension class, e.g.