CCEX-1.0.0
Loading...
Searching...
No Matches
QubitArray Struct Reference

#include <qubit.h>

Detailed Description

QubitArray include information of all qubits.

Todo
Check if the psia, psib, psi0, rho0 is normalied.

Each parameter is read from the input file or options.

  • _parameter : Only use during reading input file and then free
  • parameter : Use during simulation
    Todo

    alphastate, betastate : currently the value format of this tag in input file is : e.g. alphastate = { e, 1, 0, 0, } but we need to change this format to bracket notation: e,g. alphastate = e |-1> betastate = n1 |+1.5>
    betastate = n1 i|-0.5> => generally : alphastate or betastate = qname a|ms> : a is the constant (can be complex number)

    initstate : Like above case, we need to change the format of this tag. e.g. initstate = |+1>|1.5>|0.5> - i|+1>|0.5>|-0.5> => generally : initstate = a|ms_1>|ms_2>..|ms_n> + b|ms'_1>|ms'_2>..|ms'_n>

    Add doucumentation for qubitarray and cce.in "&Qubit" tag

Public Attributes

int * _alphaidx
 
int * _betaidx
 
int nqubit
 
Qubit ** qubit
 
MatrixXcd ** intmap
 
MatrixXcd psia
 
MatrixXcd psib
 
MatrixXcd psi0
 
bool overhaus
 

Member Data Documentation

◆ _alphaidx

int* QubitArray::_alphaidx

Eigen state alpha index (default : NULL)

◆ _betaidx

int* QubitArray::_betaidx

Eigen state beta index (default : NULL)

◆ intmap

MatrixXcd** QubitArray::intmap

Interaction i-j (Unit : radkHz)

◆ nqubit

int QubitArray::nqubit

The number of Qubit

◆ overhaus

bool QubitArray::overhaus

Overhauser field : on | off

◆ psi0

MatrixXcd QubitArray::psi0

Initial state of qubit

◆ psia

MatrixXcd QubitArray::psia

Projected state alpha for QubitArray

◆ psib

MatrixXcd QubitArray::psib

Projected state beta for QubitArray

◆ qubit

Qubit** QubitArray::qubit

Qubit information (see struct Qubit)


The documentation for this struct was generated from the following file: