const Singleton class that implements most commonly used states
More...
#include <classes/states.h>
|
ket | x0 {ket::Zero(2)} |
| Pauli Sigma-X 0-eigenstate |+> More...
|
|
ket | x1 {ket::Zero(2)} |
| Pauli Sigma-X 1-eigenstate |-> More...
|
|
ket | y0 {ket::Zero(2)} |
| Pauli Sigma-Y 0-eigenstate |y+> More...
|
|
ket | y1 {ket::Zero(2)} |
| Pauli Sigma-Y 1-eigenstate |y-> More...
|
|
ket | z0 {ket::Zero(2)} |
| Pauli Sigma-Z 0-eigenstate |0> More...
|
|
ket | z1 {ket::Zero(2)} |
| Pauli Sigma-Z 1-eigenstate |1> More...
|
|
cmat | px0 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-X 0-eigenstate |+><+|. More...
|
|
cmat | px1 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-X 1-eigenstate |-><-|. More...
|
|
cmat | py0 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-Y 0-eigenstate |y+><y+|. More...
|
|
cmat | py1 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-Y 1-eigenstate |y-><y-|. More...
|
|
cmat | pz0 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-Z 0-eigenstate |0><0|. More...
|
|
cmat | pz1 {cmat::Zero(2, 2)} |
| Projector onto the Pauli Sigma-Z 1-eigenstate |1><1|. More...
|
|
ket | b00 {ket::Zero(4)} |
| Bell-00 state (following the convention in Nielsen and Chuang) More...
|
|
ket | b01 {ket::Zero(4)} |
| Bell-01 state (following the convention in Nielsen and Chuang) More...
|
|
ket | b10 {ket::Zero(4)} |
| Bell-10 state (following the convention in Nielsen and Chuang) More...
|
|
ket | b11 {ket::Zero(4)} |
| Bell-11 state (following the convention in Nielsen and Chuang) More...
|
|
cmat | pb00 {cmat::Zero(4, 4)} |
| Projector onto the Bell-00 state. More...
|
|
cmat | pb01 {cmat::Zero(4, 4)} |
| Projector onto the Bell-01 state. More...
|
|
cmat | pb10 {cmat::Zero(4, 4)} |
| Projector onto the Bell-10 state. More...
|
|
cmat | pb11 {cmat::Zero(4, 4)} |
| Projector onto the Bell-11 state. More...
|
|
ket | GHZ {ket::Zero(8)} |
| GHZ state. More...
|
|
ket | W {ket::Zero(8)} |
| W state. More...
|
|
cmat | pGHZ {cmat::Zero(8, 8)} |
| Projector onto the GHZ state. More...
|
|
cmat | pW {cmat::Zero(8, 8)} |
| Projector onto the W state. More...
|
|
const Singleton class that implements most commonly used states
ket qpp::States::mes |
( |
idx |
d = 2 | ) |
const |
|
inline |
Maximally entangled state of 2 qudits.
- Parameters
-
- Returns
- Maximally entangled state
of 2 qudits
ket qpp::States::b00 {ket::Zero(4)} |
Bell-00 state (following the convention in Nielsen and Chuang)
ket qpp::States::b01 {ket::Zero(4)} |
Bell-01 state (following the convention in Nielsen and Chuang)
ket qpp::States::b10 {ket::Zero(4)} |
Bell-10 state (following the convention in Nielsen and Chuang)
ket qpp::States::b11 {ket::Zero(4)} |
Bell-11 state (following the convention in Nielsen and Chuang)
ket qpp::States::GHZ {ket::Zero(8)} |
cmat qpp::States::pb00 {cmat::Zero(4, 4)} |
Projector onto the Bell-00 state.
cmat qpp::States::pb01 {cmat::Zero(4, 4)} |
Projector onto the Bell-01 state.
cmat qpp::States::pb10 {cmat::Zero(4, 4)} |
Projector onto the Bell-10 state.
cmat qpp::States::pb11 {cmat::Zero(4, 4)} |
Projector onto the Bell-11 state.
cmat qpp::States::pGHZ {cmat::Zero(8, 8)} |
Projector onto the GHZ state.
cmat qpp::States::pW {cmat::Zero(8, 8)} |
Projector onto the W state.
cmat qpp::States::px0 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-X 0-eigenstate |+><+|.
cmat qpp::States::px1 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-X 1-eigenstate |-><-|.
cmat qpp::States::py0 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-Y 0-eigenstate |y+><y+|.
cmat qpp::States::py1 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-Y 1-eigenstate |y-><y-|.
cmat qpp::States::pz0 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-Z 0-eigenstate |0><0|.
cmat qpp::States::pz1 {cmat::Zero(2, 2)} |
Projector onto the Pauli Sigma-Z 1-eigenstate |1><1|.
ket qpp::States::W {ket::Zero(8)} |
ket qpp::States::x0 {ket::Zero(2)} |
Pauli Sigma-X 0-eigenstate |+>
ket qpp::States::x1 {ket::Zero(2)} |
Pauli Sigma-X 1-eigenstate |->
ket qpp::States::y0 {ket::Zero(2)} |
Pauli Sigma-Y 0-eigenstate |y+>
ket qpp::States::y1 {ket::Zero(2)} |
Pauli Sigma-Y 1-eigenstate |y->
ket qpp::States::z0 {ket::Zero(2)} |
Pauli Sigma-Z 0-eigenstate |0>
ket qpp::States::z1 {ket::Zero(2)} |
Pauli Sigma-Z 1-eigenstate |1>
The documentation for this class was generated from the following file: