Wolfram`QuantumFramework`
QuditBasis |
|
| | ||||
|
| |
Details and Options
Examples
(5)
Basic Examples
(4)
Define a 2D basis with names:
In[1]:=
QuditBasis |
Out[1]=
|down〉{0,1},|up〉{1,0}
Define a 2D basis:
In[1]:=
QuditBasis |
Out[1]=
|0〉{1,0},|1〉{0,1}
Define a 2×3 dimensional basis:
In[1]:=
QuditBasis |
Out[1]=
|00〉{{1,0,0},{0,0,0}},|01〉{{0,1,0},{0,0,0}},|02〉{{0,0,1},{0,0,0}},|10〉{{0,0,0},{1,0,0}},|11〉{{0,0,0},{0,1,0}},|12〉{{0,0,0},{0,0,1}}
Return corresponding basis for the named basis "Pauli":
In[1]:=
QuditBasis |
Out[1]=
|〉{{1,0},{0,1}},|〉{{0,1},{1,0}},|〉{{0,-},{,0}},|〉{{1,0},{0,-1}}
σ
0
σ
1
σ
2
σ
3
Scope
(1)
|
|
""