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

Public Attributes

char method [MAX_CHARARRAY_LENGTH]
 Clustering algorithm : cce (default) | gcce | dsj | itb | dsjitb | pcce.
 
char quantity [MAX_CHARARRAY_LENGTH]
 
int order
 
float bfield [3]
 
float rbath
 
float rdip
 
float deltat
 
int nstep
 
float rbathcut
 
float rdipcut
 
int nstate
 
int seed
 
char * qubitfile
 
char * gyrofile
 
int nbathfiles
 
char ** bathfiles
 
double ** bathadjust
 
char * avaaxfile
 
char * statefile
 
char * exstatefile
 
int _nflines
 
int * _flines
 
double DefectTotSpin
 
double CorrTotSpin
 
int hf_readmode
 
char * hf_tensorfile
 
double hf_cutoff
 
int hf_ignore_oor
 
int qd_readmode
 
char * qd_tensorfile
 
char * qd_tensorfile_woqubit
 
double qd_cellpara [3]
 
bool hfmedi
 
bool knight
 

Member Data Documentation

◆ _flines

int* Config::_flines

file line number of each bath spins

◆ _nflines

int Config::_nflines

number of file lines

◆ avaaxfile

char* Config::avaaxfile

Available principal axis

◆ bathadjust

double** Config::bathadjust

Bath adjust values

◆ bathfiles

char** Config::bathfiles

Bath file names

◆ bfield

float Config::bfield[3]

Magnetic field (Bx,Bx,Bz) (Unit G)

◆ CorrTotSpin

double Config::CorrTotSpin

Total spin of correlation : default : 0

◆ DefectTotSpin

double Config::DefectTotSpin

Total spin of defect : default : 1

◆ deltat

float Config::deltat

Time interval (Unit ms)

◆ exstatefile

char* Config::exstatefile

extra spin' state file

◆ gyrofile

char* Config::gyrofile

Gyro file name

◆ hf_cutoff

double Config::hf_cutoff

Cutoff for hyperfine tensor file

◆ hf_ignore_oor

int Config::hf_ignore_oor

Ignore nuclear spins out of range the hyperfine tensor file

◆ hf_readmode

int Config::hf_readmode

Read mode for hyperfine tensor file : 0 : off , 1~3 : fermi & DFT

◆ hf_tensorfile

char* Config::hf_tensorfile

Hyperfine tensor file name

◆ hfmedi

bool Config::hfmedi

If true, we will add Hyperfine mediated term (Available only when you use CCE method), ref. N. Zhao, Nature Nanotechnology, 6, 242-246 (2011) (Supplementary)

◆ knight

bool Config::knight

If true, we will add the knight-field effect induced by transverse magnetic field (Available only when you use CCE method), ref. N. Zhao, Nature Nanotechnology, 6, 242-246 (2011) (Supplementary)

◆ method

char Config::method[MAX_CHARARRAY_LENGTH]

Clustering algorithm : cce (default) | gcce | dsj | itb | dsjitb | pcce.

The following is the description of each algorithm.

  • cce : Conventional CCE method *using hash algorithm
  • gcce : Generalized CCE method *using hash algorithm
  • pcce : Parition CCE method *using hash algorithm
  • dsj : Disjoint clustering algorithm , meaning that it consider the disjointed cluster
  • itb : Inter-bathcluster clustering algorithm , meaning that it consider the pair interaction between disjointed bath cluster
  • dsjitb : Disjoint + inter-bathcluster clustering algorithm , meaning that it consider the disjointed group and the interaction between disjointed clusters. (dsjitb with order = 2 gives the same result as normal CCE2)
    Todo
    add pcce-related description HS_pcce Cluster::method

◆ nbathfiles

int Config::nbathfiles

Number of bath files

◆ nstate

int Config::nstate

Number of bath states (single and gcce method only)

◆ nstep

int Config::nstep

Time step

◆ order

int Config::order

Maximum nuclear spins included in a cluster ( >= 0 )

◆ qd_readmode

int Config::qd_readmode

Read mode for quadrupole tensor file : 0 : off , 1 : exp , 2: dft

◆ qd_tensorfile

char* Config::qd_tensorfile

Quadrupole tensor file name

◆ qd_tensorfile_woqubit

char* Config::qd_tensorfile_woqubit

Quadrupole tensor file name without qubit

◆ quantity

char Config::quantity[MAX_CHARARRAY_LENGTH]

Measurment : coherence | noise | dm

◆ qubitfile

char* Config::qubitfile

Qubit file name

◆ rbath

float Config::rbath

Bath radius (Unit angstrom)

◆ rbathcut

float Config::rbathcut

Cutoff to remove spins within rbathcut

◆ rdip

float Config::rdip

Dipole radius (Unit angstrom)

◆ rdipcut

float Config::rdipcut

Cutoff to remove spin pairs within rdipcut

◆ seed

int Config::seed

Fixed random value (if none, time(null) )

◆ statefile

char* Config::statefile

State file


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