CCEX-1.0.0
Loading...
Searching...
No Matches
Input File

Generated on 2025.04.14

Input File

This is navigator to find the input file tags

How to write the input file

The input file consists of key-value pairs where each key represents a specific setting. Each parameter should be written in the following format:

{
parameter_name_1 : value_1,
parameter_name_2 : value_2,
:
parameter_name_N : value_N
}

Lines beginning with # or ! are considered as comments and they would be ignored.

General tags

Tags in this section is about simulatation parameters such as file path, numerical parameters.

Qubit-related tags

This tags are used for adjusting Qubit Hamiltonian and qubit inital state. The format is the following:

Case1. qubitfile tag
: Only single-qubit systems are supported.
Note that this tag takes priority over the Qubit tag.

Example:

"qubitfile" : "file-path"

Case2. Qubit tag
: Both multiple qubit and single system are supported.

Example: Click here to show example code
{
"Qubit" : {
"nqubit" : 2,
"qubit" : [
{
"name" : "Q1",
"spin" : 0.5,
"gyro" : -17608.597050,
"xyz" : [1.0, 2.0, 3.0],
"detuning" : 0.0,
"alphams" : 0,
"betams" : 1,
},
{
"name" : "Q2",
"spin" : 1.0,
"gyro" : -17608.597050,
"xyz" : [4.0, 5.0, 6.0],
"detuning" : 0.0,
"alphams" : 0,
"betams" : 1,
}
],
"intmap" : [
{
# Zero field splitting
"between" : ["Q1", "Q1"],
"tensor" : [[1.0, 2.0, 3.0],
[4.0, 5.0, 6.0],
[7.0, 8.0, 9.0]],
},
{
"between" : ["Q1", "Q2"],
"tensor" : [[1.0, 2.0, 3.0],
[4.0, 5.0, 6.0],
[7.0, 8.0, 9.0]],
}
]
},
"psia" : [1.0, 2.0, 3.0],
"psib" : [4.0, 5.0, 6.0],
"psi0" : [7.0, 8.0, 9.0],
"overhaus" : true,
"alphaidx" : 0,
"betaidx" : 1,
}

Cluster-related tags

Pulse-related tags

DefectArray-related tags

This tags are used for adjusting paramagnetic defect bath information. The format is the following:

Example: Click here to show example code
{
"Defect" : [
{
"dfname" : "NV0",
"naddspin" : 1,
"types" : ["15N"],
"spins" : [0.5],
"gyros" : [-2.71261804],
"navaax" : 4,
"rxyzs" : [ [1, "15N", [ 1.36404 , -0.78843 , -0.56598 ]],
[2, "15N", [ -1.36801 , -0.79025 , -0.56701 ]],
[3, "15N", [ 0.00000 , 1.57603 , -0.56511 ]],
[4, "15N", [ 0.00000 , -0.00733 , 1.67433 ]]],
"hypf" : [ [1, "15N", [ -10.33219 , 1.01563 , 1.50162 , 1.01563 , -5.18317 , -0.16410 , 1.50162 , -0.16410 , -6.50270]],
[2, "15N", [ -7.34999 , -2.73741 , -0.89293 , -2.73741 , -8.16537 , -1.21839 , -0.89293 , -1.21839 , -6.50270]],
[3, "15N", [ -5.59086 , 1.72177 , -0.60870 , 1.72177 , -9.92450 , 1.38249 , -0.60870 , 1.38249 , -6.50270]],
[4, "15N", [ -6.01395 , 0.00000 , 0.00000 , 0.00000 , -5.59086 , -1.82620 , 0.00000 , -1.82620 , -10.41325]]]
},
{
...
}
]
}

Output tags

method

Description:
CCE Methods to calculate the dynamics of the system.

You can specify this value via the "-m" command-line option.

Data Type: String

Options:

Option Description
CCE Conventional CCE method
gCCE Generalized CCE method
pCCE Partition CCE method
Dsj Disjoint method
Itb Inter bath method
Dsjitb Disjoint + Inter bath method

Default: CCE

Example:

method : CCE

Related variable: Config::order

quantity

Description:
Quantity to calculate the dynamics of the system.

You can specify this value via the "-q" command-line option.

Data Type: String

Options:

Option Description
coherence Coherence function
dm Density matrix

Unit: arbitrary unit (a.u.)

Default: coherence

Example:

quantity : coherence

Related variable: Config::quantity

order

Description:
Order of the CCE method.

Data Type: Integer

Default: -

Example:

order : 2

Related variable: Config::order

bfield

Description:
Magnetic field.

You can specify a magnetic field along the z-axis via the "-B" command-line option.

Data Type: Float or Float List

Unit: gauss (G)

Default: 0.0

Example:

bfield : 0.0
bfield : [0.0, 0.0, 0.0]

Related variable: Config::bfield

rbath

Description:
Bath radius

Data Type: Float

Unit: angstrom

Default: -

Example:

rbath : 0.0

Related variable: Config::rbath

rdip

Description:
Dipolar radius

Data Type: Float

Unit: angstrom

Default: -

Example:

rdip : 0.0

Related variable: Config::rdip

deltat

Description:
Time interval.

Data Type: Float

Unit: ms

Default: -

Example:

deltat : 0.0

Related variable: Config::deltat

nstep

Description:
Number of time steps.

Data Type: Integer

Default: -

Example:

nstep : 10

Related variable: Config::nstep

rbathcut

Description:
Bath inner-cutoff radius.

Data Type: Float

Unit: angstrom

Default: 0.0

Example:

rbathcut : 0.0

Related variable: Config::rbathcut

rdipcut

Description:
Dipolar inner-cutoff radius.

Data Type: Float

Unit: angstrom

Default: 0.0

Example:

rdipcut : 0.0

Related variable: Config::rdipcut

nstate

Description:
Number of state templates to be generated.

You can specify this value via the "-N" command-line option.

Data Type: Integer

Options:

Option Description
0 No state template will be generated (Ensemble approach)
>0 State template will be generated (Single-sample approach)
Mean-field effect will be automatically added

Default: 0

Example:

nstate : 10

Related Tags: seed

Related variable: Config::nstate

seed

Description:
Seed for random number generator.
If you want to generate the same state templates, you should set the same seed value.

Data Type: Integer

Default: Time(NULL)

Example:

seed : 1241798

Related Tags: nstate

Related variable: Config::seed

qubitfile

Description:
File path of the qubit spatial configuration.
This tag is required when you use the qubit configuration file.
Also, this only supports for a single qubit system.

    File format is the following :
    [x] [y] [z]
    example)
    10.0 12.0 13.0    - x,y,z position of qubit in cartesian, angstrom

Data Type: String (File path)

Default: -

Example:

qubitfile : "filepath"

Related variable: Config::qubitfile

Related Tags: Qubit-related tags

gyrofile

Description:
File name including bath spin information, e.g. gyromagnetic ratio, spin number

    File format is the following :
    [Name] [SpinNumber] [Gyromagnetic ratio (rad/ms/G)]
    example)
    13C 0.5 6.728284
    P1  0.5 -17608.597050

Data Type: String (File path)

Default: -

Example:

gyrofile : "filepath"

Related variable: Config::gyrofile

bathfile

Description:
File name of the bath spatial configuration.
You can specify this value via the "-I" command-line option.

    File format is the following :
    [x] [y] [z] [Name]
    example)
    1.0 0.0 0.0 0.0   - Total line number 
    1.0 2.0 3.0 13C   - x,y,z in cartesian, angstrom
    4.0 5.0 6.0  P1   - Spin name should be the same to the name in gyrofile

Data Type: String (File path) or String List

Default: -

Example:

bathfile : "filepath"
bathfile : ["filepath1", "filepath2", ... ]

Related variable: Config::bathfile

bathadjust

Description:
Adjust the bath configuration.
If you want to adjust the bath configuration, you can set the bathadjust value.
Usually, this tag is required for multiple qubit calculation that wouldb have different bath configuration

Data Type: Double List

Default: -

Example:

bathadjust : [1.0, 2.0, 3.0]
bathadjust : [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], ... [7.0, 8.0, 9.0]]

Related variable: Config::bathadjust

avaaxfile

Description:
File path of the principal axis of the bath spin.
This tag might require during paramagnetic defect bath simulation.
During PM defect bath simulation, if you don\'t give this file, the principal axes are automatically assigned.

You can specify this value via the "-a" command-line option.

    File format is the following :
    [Principal axis index]
    example)
    5.0 - The number of total line
    1.0 - principal axis index
    2.0 -  :
    3.0
    3.0

Data Type: String (File path)

Default: -

Example:

avaaxfile : "filepath"

Related tags: Defect

Related variable: Config::avaaxfile

statefile

Description:
File name of the bath state template.
This tag might require when you want to obtain the result for a certain set of initial bath state.
If the file path of the statefile doesn\'t exist, the program will automatically generate the state template.
You can specify this value via the "-s" command-line option.

    File format is the following :
    [SpinSubLevel]
    example)
     5.0   - The number of total line
    -0.5   - Spin sublevel when S=1/2
     0.5   -    :
    -0.5
    -0.5

Data Type: String (File path)

Default: -

Example:

statefile : "filepath"

Related tags: nstate

Related variable: Config::statefile

exstatefile

Description:
File name of the additional bath spin state template.
This tag might require when you want to calculate paramagnetic defect bath.
Each bath state represent the additional bath spin state.
If the file path of the exstatefile doesn\'t exist, the program will automatically generate the state template.
You can specify this value via the "-S" command-line option.

    File format is the following :
    [SpinSubLevel]
    example)
     5.0   - The number of total line
    -1.0   - Spin sublevel when S=1
     0.0   -    :
     1.0
    -1.0

Data Type: String (File path)

Default: -

Example:

exstatefile : "filepath"

Related tags: Defect

Related variable: Config::exstatefile

DefectTotSpin

Description:
Total spin number of the qubit.
(Required when you use Hyperfine tensor file obtained by QUANTUM ESPRESSO)

Data Type: Double

Default: 1.0

Example:

DefectTotSpin : 1.0

Related Tags: hf_tensorfile CorrTotSpin

Related variable: Config::DefectTotSpin

CorrTotSpin

Description:
Spin number correction
(Required when you use Hyperfine tensor file obtained by QUANTUM ESPRESSO)

Data Type: Double

Default: 0.0

Example:

CorrTotSpin : 0.0

Related Tags: hf_tensorfile DefectTotSpin

Related variable: Config::CorrTotSpin

hf_readmode

Description:
Interaction tensor between qubit and bath spins can be determined by this option.
If you want to use the hyperfine tensor obtained from DFT calculation, you should set this option.

Options:

Option Description
0 No DFT hyperfine tensor
(Point-dipole approximation)
1 Fermi-contact term + point-dipole tensor
2 DFT dipolar tensor
3 Fermi-contact term + DFT dipole tensor

Default: 0

Example:

hf_readmode : 0

Related Tags: hf_tensorfile hf_cutoff hf_ignore_oor

Related variable: Config::hf_readmode

hf_tensorfile

Description:
File name of the hyperfine tensor.
This tag is required when you use the hyperfine tensor obtained from DFT calculation.

    File format is the following :
 
Todo
\Ref other page

Data Type: String (File path)

Default: -

Example:

hf_tensorfile : "filepath"

Related Tags: hf_readmode hf_cutoff hf_ignore_oor

Related variable: Config::hf_tensorfile

hf_cutoff

Description:
Removed

Todo
JW

Data Type: Double

Default: 0.0

Example:

hf_cutoff : 0.0

Related Tags: hf_tensorfile hf_readmode hf_ignore_oor

Related variable: Config::hf_cutoff

hf_ignore_oor

Todo
JW

Description:
Even if the bath spin is within the specified range set in the hyperfine tensor,
if the code cannot find a matching spin relative position and spin tensor,
it may or may not raise an error depending on this option.

Data Type: Int

Options:

Option Description
0 Strict enforcement (no ignoring out-of-range spins)
1 Not strict (allows ignoring out-of-range spins)

Default: 0

Example:

hf_ignore_oor : 0
hf_ignore_oor : 1

Related Tags: hf_tensorfile hf_readmode hf_cutoff

Related variable: Config::hf_ignore_oor

qd_readmode

Description:

Todo
JW

Quadrupole interaction tensor of bath spins can be set by this option.
If you want to use the Quadrupole tensor obtained from DFT calculation, you should set this option.

Options:

Option Description
0 No DFT quadrupole tensor
1 Removed option
2 Read quadrupole DFT file from qd_tensorfile
3 Read quadrupole DFT file from both qd_tensorfile and qd_tensorfile_woqubit
cell_para is required
(Strained structure)
4 Read quadrupole DFT file from both qd_tensorfile and qd_tensorfile_woqubit
cell_para is required
(Bubble type structure)

Default: 0

Example:

qd_readmode : 0

Related Tags: qd_tensorfile qd_cutoff

Related variable: Config::qd_readmode

qd_tensorfile

Description:
File name of the quadrupole tensor.
This tag is required when you use the quadrupole tensor obtained from DFT calculation.

    File format is the following :
 
Todo
\Ref other page

Data Type: String (File path)

Default: -

Example:

qd_tensorfile : "filepath"

Related Tags: qd_readmode qd_cutoff qd_tensorfile_woqubit cell_para

Related variable: Config::qd_tensorfile

qd_tensorfile_woqubit

Description:
File name of the quadrupole tensor without qubit.
This would be useful for coherence simultion in the strained or bubble structure.
This tag is required when you use the quadrupole tensor obtained from DFT calculation.

    File format is the following :
 
Todo
\Ref other page

Data Type: String (File path)

Default: -

Example:

qd_tensorfile_woqubit : "filepath"

Related Tags: qd_readmode qd_cutoff qd_tensorfile cell_para

Related variable: Config::qd_tensorfile_woqubit

cell_para

Description:
Lattice parameter of the strained or bubble structure.
This tag is required when you use the quadrupole tensor obtained from DFT calculation.

Data Type: Double List

Default: -

Unit: angstrom

Example:

cell_para : [1.0, 2.0, 3.0]

Related Tags: qd_readmode qd_cutoff qd_tensorfile qd_tensorfile_woqubit

Related variable: Config::cell_para

Qubit

Description:
Qubit information.
This tag is required to give the details of qubit information.

Data Type: Dictionary

Default: -

Example:

Qubit : { "nqubit" : 2,
"qubit" : [ { "name" : "Q1", "spin" : 0.5, "gyro" : -17608.597050, "xyz" : [1.0, 2.0, 3.0], "detuning" : 0.0, "alphams" : 0, "betams" : 1 },
{ "name" : "Q2", "spin" : 1.0, "gyro" : -17608.597050, "xyz" : [4.0, 5.0, 6.0], "detuning" : 0.0, "alphams" : 0, "betams" : 1 } ] }
Qubit structure contains each qubit's information.
Definition qubit.h:15

<Related variable: QubitArray struct, Qubit struct

Sub-tags:

qzfs

Todo
HJ (Avail only when reading "qubitfile" tag)

qspin

Todo
HJ (Avail only when reading "qubitfile" tag)

qalphams

Todo
HJ (Avail only when reading "qubitfile" tag)

qbetams

Todo
HJ (Avail only when reading "qubitfile" tag)

nqubit

Description:
Number of qubits in the system.
The number of qubit information in tag Qubit should be the same as this value.

Data Type: Integer

Default: -

Example:

nqubit : 2

Related variable: QubitArray::nqubit

qubit

Description:
Qubit information details, e.g. qubit name, spin number, gyro magnetic ratio, etc..
This tag is required to give the details of qubit information.

Data Type: Dictionary List

Default: -

Example:

qubit : [ { "name" : "Q1", "spin" : 0.5, "gyro" : -17608.597050, "xyz" : [1.0, 2.0, 3.0], "detuning" : 0.0, "alphams" : 0, "betams" : 1 },
{ "name" : "Q2", "spin" : 1.0, "gyro" : -17608.597050, "xyz" : [4.0, 5.0, 6.0], "detuning" : 0.0, "alphams" : 0, "betams" : 1 } ]

Related variable: Qubit struct

Sub-tags:

  • name : Bath spin name
  • spin : Spin number
  • gyro : Gyromagnetic ratio (rad/ms/G)
  • xyz : x,y,z position of qubit in cartesian, angstrom
  • detuning : Detuning frequency (kHz)
  • alphams : qubit sublevel state
  • betams : qubit sublevel state

name

Description:
Name of the qubit.

Data Type: String

Default: "q%d" e.g. "q1", "q2", "q3", ...

Example:

name : "Q1"

Related variable: Qubit::name

Parent-tags: Qubit

spin

Description:
Spin number of the qubit.

Data Type: Float

Default: 1.0

Example:

spin : 0.5

Related variable: Qubit::spin

Parent-tags: Qubit

gyro

Description:
Gyromagnetic ratio of the qubit.

Data Type: Double

Unit: rad/ms/G

Default: -17608.597050

Example:

gyro : -17608.597050

Related variable: Qubit::gyro

Parent-tags: Qubit

xyz

Description:
x,y,z position of the qubit in cartesian coordinates.

Data Type: Double List

Unit: angstrom

Default: -

Example:

xyz : [1.0, 2.0, 3.0]

Related variable: Qubit::xyz

Parent-tags: Qubit

detuning

Description:
Detuning frequency of the qubit.

Data Type: Double

Unit: kHz

Default: 0.0

Example:

detuning : 0.0

Related variable: Qubit::detuning

Parent-tags: Qubit

alphams

Description:
Alpha state of the qubit.
Represents one of the effective spin states of the qubit.
Priority: psia > alphaidx > alphams.
This tag is ultimately applied to set QubitArray::psia (i.e. psia), unless it is overridden by a higher-priority tag

Data Type: Float

Default: 1.0

Example:

alphams : 1.0

Related-tags: betams psia alphaidx

Related variable: Qubit::alphams QubitArray::psia

Parent-tags: Qubit

betams

Description:
Beta state of the qubit.
One of the effective spin states of the qubit.
Priority: psib > betaidx > betams.
This tag is ultimately applied to set QubitArray::psib (i.e. psib), unless it is overridden by a higher-priority tag

Data Type: Float

Default: 0.0

Example:

betams : 0.0

Related-tags: alphams psib betaidx

Related variable: Qubit::betams QubitArray::psib

Parent-tags: Qubit

intmap

Description:
Interaction map between qubits.
This tag is required to define the interaction map between qubits, including its self interaction (e.g. Zero-field splitting).

Data Type: Dictionary List

Unit: kHz

Default: -

Example:

intmap : [ { "between" : ["q1","q1"],
"tensor" : [[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0]] },
{ ... } ]

Related variable: QubitArray::intmap

Sub-tags:

between

Description:
Names of an interacting qubit pair.
This tag is required to define the interaction map for a specific qubit pair.
For zero-field splitting interactions, the qubit names must be identical. (e.g. ["q1","q1"] )

Data Type: String List

Default: -

Example:

between : ["q1","q2"]

Related tags: tensor

Related variable: QubitArray::intmap

Parent-tags: intmap

tensor

Description:
Interaction tensor.
This tag is required to define the interaction tensor for a specific qubit pair.
This tensor is used to calculate the interaction between qubits.

Data Type: Double 2D List (3x3)

Unit: kHz

Default: [[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0]]

Example:

tensor : [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]

Related tags: between

Related variable: QubitArray::intmap

Parent-tags: intmap

psia

Description:
Alpha state of the qubit in matrix representation.
One of the effective spin states of the qubit in matrix representation, simbol : |alpha⟩ .
Priority: psia > alphaidx > alphams.

Data Type: Double List

Default: - (If not entered, alphams state would be the )

Example:

psia : [1.0, 0.0, 0.0]

Related tags: psib alphams alphaidx

Related variable: QubitArray::psia

Parent-tags: Qubit

psib

Description:
Beta state of the qubit in matrix representation.
One of the effective spin states of the qubit in matrix representation, simbol : |beta⟩ .
Priority: psib > betaidx > betams.

Data Type: Double List

Default: -

Example:

psib : [0.0, 1.0, 0.0]

Related tags: psia betams betaidx

Related variable: QubitArray::psib

Parent-tags: Qubit

psi0

Description:
Initial state of the qubit in matrix representation, symbol: |psi0⟩
This tag is used to define a specific initial state of the qubit.
If this tag is not provided, the initial state defaults to |psi0⟩ = |alpha⟩ + |beta⟩ .

Data Type: Double List

Default: -

Example:

psi0 : [1.0, 0.0, 0.0]

Related variable: QubitArray::psi0

Parent-tags: Qubit

overhaus

Description:
Overhauser field of the qubit.
This tag is required to compute spin dynamics including the Overhauser field of the qubit.

Data Type: Bool

Default: false

Example:

overhaus : true

Related variable: QubitArray::overhaus

Parent-tags: Qubit

alphaidx

Description:
Alpha state of the qubit. (Adiabatic state of the qubit system)
Use this tag to assign the eigenvector of the diagonalized qubit Hamiltonian as the initial qubit state.
Priority: psia > alphaidx > alphams.
This tag is ultimately applied to set QubitArray::psia (i.e. psia), unless it is overridden by a higher-priority tag

Data Type: Int

Default: -1 (= None)

Example:

alphaidx : 0

Related tags: betaidx psia alphams

Related variable: QubitArray::_alphaidx QubitArray::psia

Parent-tags: Qubit

betaidx

Description:
Beta state of the qubit. (Adiabatic state of the qubit system)
Use this tag to assign the eigenvector of the diagonalized qubit Hamiltonian as the initial qubit state.
Priority: psib > betaidx > betams.
This tag is ultimately applied to set QubitArray::psib (i.e. psib), unless it is overridden by a higher-priority tag

Data Type: Int

Default: -1 (= None)

Example:

betaidx : 0

Related tags: alphams psib betams

Related variable: QubitArray::_betaidx QubitArray::psib

Parent-tags: Qubit

addsubclus

Description:
For CCE simulations with order ≥ 3, enabling this option allows all sub-clusters of the highest order to be included.
This leads to more stable and robust results, and may also reduce computation time.

Data Type: Bool

Default: true

Example:

addsubclus : true

Related variable: Cluster::addsubclus

nk

Description:
Number of clusters for each CCE order.
This is useful for CCE simulations with order ≥ 3, leading tons of clusters
If the value is [0,0,0], it means that all clusters are included.

Data Type: Int List

Default: -

Example:

nk : [10000, 20000, 30000]

Related variable: Cluster::nk

sK

Description:
Removed

Todo
Hyeonsu

max_trial

Description:
Removed

Todo
Hyeonsu

max_iter

Description:
Removed

Todo
Hyeonsu

kmeans_pp

Description:
Removed

Todo
Hyeonsu

iter_detail

Description:
Removed

Todo
Hyeonsu

npulse

Description:
Number of pulses in the pulse sequence.
This tag is required to define the number of pulses in the pulse sequence.
Removed

Todo
Hyeonsu

HahnEcho ? CPMG? Ramsey? when?

Data Type: Int

Default: -

Example:

npulse : 1

Related variable: Pulse::npulse

pulsename

Description:
Name of the pulse sequence.
Removed

Todo
Hyeonsu

Defect

Description:
Detailed information of paramagnetic (PM) defect bath can be provided by this tag.

Data Type: Dictionary List

Default: -

Example:

Defect : [ { "dfname" : "D1", "naddspin" : 0, "navaax" : 4, "detuning" : [[1,0.0],[2,1.0],[3,2.0],[4,3.0]]},
{ "sdname" : "D2", ... }
Defect structure.
Definition defect.h:11

Related variable: DefectArray struct Defect struct

Sub-tags:

  • dfname : Defect name
  • apprx : Approximation type
  • naddspin : Number of on-site nuclear spins of the PM defect
  • navaax : Number of possible principal axes of the defect
  • types : On-site nuclear spin types
  • spins : Spin numbers of the on-site nuclear spins
  • gyros : Gyromagnetic ratio of the on-site nuclear spins
  • eqs : eQ values of the on-site nuclear spins
  • rxyzs : Relative x,y,z position of on-site nuclear spins
  • hypf : Hyperfine interaction tensor
  • efg : Electric field gradient tensor
  • zfs : Zero-field splitting tensor
  • detuning : Detuning frequency

dfname

Description:
Name of the paramagnetic defect.

Data Type: String

Default: -

Example:

dfname : "P1"

Related variable: Defect::dfname

Parent-tags: Defect

apprx

Description:
If apprx is set to false, the electron and nuclear spins of the paramagnetic defect are clusterized separately.
This corresponds to a conventional CCE simulation for all spins.
If apprx is set to true, the electron and nuclear spins are treated as one set,
resulting in a simulation based on the CCE-NeNn method.

Data Type: Bool

Default: true

Example:

apprx : true

Related variable: Defect::apprx

Parent-tags: Defect

naddspin

Description:
Number of on-site nuclear spins of the paramagnetic defect.

Data Type: Int

Default: 0

Example:

naddspin : 0

Related variable: DefectArray::naddspins Defect::naddspin

Parent-tags: Defect

navaax

Description:
Number of possible principal axes of the paramagnetic defect.

Data Type: Int

Default: 0

Example:

navaax : 4

Related variable: Defect::navaax DefectArray::paxes

Parent-tags: Defect

types

Description:
Name of on-site nuclear spins of the paramagnetic defect.
The number of types should be the same as naddspin.

Data Type: String List

Default: -

Example:

types : ["1H", "13C"]

Related variable: Defect::types

Parent-tags: Defect

spins

Description:
Spin numbers of the on-site nuclear spins of the paramagnetic defect.
The number of spins should be the same as naddspin.

Data Type: Float List

Default: -

Example:

spins : [0.5, 1.0]

Related variable: Defect::spins

Parent-tags: Defect

gyros

Description:
Gyromagnetic ratio of the on-site nuclear spins of the paramagnetic defect.
The number of gyros should be the same as naddspin.

Data Type: Double List

Unit: rad/ms/G

Default: -

Example:

gyros : [-17608.597050, -17608.597050]

Related variable: Defect::gyros

Parent-tags: Defect

eqs

Description:
Quadrupole moment (eQ) values of the on-site nuclear spins of the paramagnetic defect.
The number of eQ values should be the same as naddspin.

Data Type: Double List

Unit: millibarn × 10^1 m^2 = 10^-30 m^2

Default: [0.0 , ..]

Example:

eqs : [0.0, 0.0]

Related variable: Defect::eqs

Parent-tags: Defect

rxyzs

Description:
Relative x,y,z position of on-site nuclear spins of the paramagnetic defect over the electron spin position.
The number of rxyzs should be the same as " naddspin x navaax "

Data Type: 2D List

Unit: angstrom

Default: [0.0, 0.0, 0.0]

Example:

rxyzs : [[1, "15N", [0.0, 0.0, 0.0]],
[2, "1H", [0.0, 0.0, 0.0]]]

Related variable: Defect::rxyzs

Parent-tags: Defect

hypf

Description:
The hyperfine interaction between on-site nuclear spins and the electron spin associated with a paramagnetic defect.
The number of hypf should be the same as " naddspin x navaax "

Data Type: 2D List

Unit: MHz

Default: -

Example:

hypf : [[1, "15N", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]],
[2, "1H", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]]]

Related variable: Defect::hypf

Parent-tags: Defect

efg

Description:
The electric field gradient tensors of the paramagnetic defect.
The number of efg should be the same as " naddspin x navaax "

Data Type: 2D List

Unit: Hartree/Bohr^2

Default: -

Example:

efg : [[1, "14N", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]],
[2, "1H", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]]]

Related variable: Defect::efg

Parent-tags: Defect

zfs

Description:
The zero-field splitting tensors of the electron spin associated with a paramagnetic defect.
The number of zfs should be the same as " navaax "

Data Type: 2D List

Unit: MHz

Default: -

Example:

zfs : [[1, "e", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]],
[2, "e", [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]]]

Related variable: Defect::zfs

Parent-tags: Defect

detuning

Description:
Detuning frequencies that will be applied to the electron spin associated with the paramagnetic defect.
The number of detuning should be the same as " navaax "
This tag is used to approximate the spin interaction tensors related to the paramagnetic defect,
e.g.,

\[ \vec{S} \cdot \mathbf{A} \cdot \vec{I} \approx \Delta m_I S_z \]

.

Data Type: 2D List

Unit: MHz

Default: -

Example:

detuning : [[1, "e", 1.0],
[2, "e", 2.0],
[3, "e", 3.0],
[4, "e", 4.0]]

Related variable: Defect::detuning

Parent-tags: Defect

savemode

Description:
The output file can be saved in different ways.

Options:

  • "all" : Saves all coherence functions for each cluster and each state.
    The file name will be in the format: "output_{cluster}_state{state}_wiDiv/noDiv"
  • "normal" : Saves coherence functions for each state only.
    The file name will be in the format: "output_state{state}_wiDiv/noDiv"

Data Type: String

Default: "normal"

Example:

savemode : "all"

Related variable: Output::savemode

outfile

Description:
Output file name prefix.
"outfile_..._wiDiv" is the final result of the coherence function.
"outfile_..._noDiv" is the result without dividing the final coherence function into those obtained from its sub-clusters.
You can specify this value via the "-o" command-line option.

Data Type: String

Default: -

Example:

outfile : "filepath"

Related variable: Output::outfile