Description Usage Arguments Details Value See Also
A qid on a 2d square lattice
1 |
row |
the row coordinate |
col |
the column coordinate |
dimension |
The dimension of the qid, e.g. the number of quantum levels. |
GridQid uses row-major ordering: GridQid(0, 0, dimension=2) < GridQid(0, 1, dimension=2) < GridQid(1, 0, dimension=2) < GridQid(1, 1, dimension=2) New GridQid can be constructed by adding or subtracting lists grid_qid(2, 3, dimension=2) + (3, 1) grid_qid(5, 4, dimension=2) grid_qid(2, 3, dimension=2) - (1, 2) grid_qid(1, 1, dimension=2)
grid qit
Other Devices:
grid_qubit()
,
line_qid()
,
line_qubit()
,
named_qubit()
,
qid()
,
unconstrained_device()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.