Qubit structure contains each qubit's information.
- Note
- When you make this structure, the following action would be done automatically. (1) alpha, beta value would be allocated (2) The dimension of alpha, beta would be checked if it is 2*spin+1 (3) The alpha, beta would be normalized
|
| char | name [MAX_CHARARRAY_LENGTH] |
| | The name of a qubit.
|
| |
| float | spin |
| | The spin number of a qubit.
|
| |
| double | gyro |
| | The gyromagnetic ratio of a qubit (Unit : radkHz/G)
|
| |
| double | xyz [3] |
| | The position of a qubit (Unit : angstrom)
|
| |
| double | detuning |
| | The detuning value of a qubit (Unit : radkHz)
|
| |
| double | overhaus |
| | The energy detuning from spin bath (Unit : radkHz)
|
| |
| MatrixXcd | alpha |
| | The projected state of a qubit (alpha)
|
| |
| MatrixXcd | beta |
| | The projected state of a qubit (beta)
|
| |
◆ alpha
The projected state of a qubit (alpha)
Value is be obtained from &Qubit -> "alphams" or -> "alphastate" tag (no default value)
- Demension : 2*spin+1
- alphams : The z-basis sub level of alpha (e.g. S, S-1, S-2 ... -S+1, -S)
- alphastate : The spin state (matrix) of alpha (e.g. [1 0 0], [0 1 0], [0 0 1])
- Todo
- Add documentation for cce.in : &Qubit -> "alphams" and -> "alphastate" tag
◆ beta
The projected state of a qubit (beta)
Value is be obtained from &Qubit -> "betams" or -> "betastate" tag (no default value)
- Demension : 2*spin+1
- betams : The z-basis sub level of beta (e.g. S, S-1, S-2 ... -S+1, -S)
- betastate : The spin state (matrix) of beta (e.g. [1 0 0], [0 1 0], [0 0 1])
- Todo
- Add documentation for cce.in : &Qubit -> "betams" and -> "betastate" tag
◆ detuning
The detuning value of a qubit (Unit : radkHz)
The artifitial effect to shift energy level of a qubit. Value can be obtained from &Qubit -> "qdetuning" (default : 0.0)
- Note
- Unit in input file (cce.in) : MHz
- Todo
- Add documentation for cce.in : &Qubit -> "qdetuning" tag
◆ gyro
The gyromagnetic ratio of a qubit (Unit : radkHz/G)
Value is obtained from &Qubit -> "qgyro" (default : gyro_electron)
- Note
- Unit in input file (cce.in) : radkHz/G
- Todo
- Add documentation for cce.in : &Qubit -> "qgyro" tag
◆ name
| char Qubit::name[MAX_CHARARRAY_LENGTH] |
The name of a qubit.
Value can be obtained from &Qubit -> "qname" (default : e)
- Todo
- Add documentation for cce.in : &Qubit -> "qname" tag
◆ overhaus
The energy detuning from spin bath (Unit : radkHz)
Automatically set if &Qubit -> "qoverhaus" tag is true (default : 0.0)
- Todo
- Add documentation for cce.in : &Qubit -> "qoverhaus" tag
◆ spin
The spin number of a qubit.
Value can be obtained from &Qubit -> "qnspin" (default : 1)
- Todo
- Add documentation for cce.in : &Qubit -> "qspin" tag
◆ xyz
The position of a qubit (Unit : angstrom)
Value should be obtained from &Qubit -> "qxyz" or qubitfile (no default value)
- Note
- Unit in input file (cce.in) : angstrom
- Todo
- Add documentation for cce.in : &Qubit -> "qxyz" tag and qubitfile
The documentation for this struct was generated from the following file:
- /home/huijin/git/CCEX/include/qubit.h