CPPQEDelements
), that are supported in the framework, meaning that they will always remain an integral part of the framework’s distribution. The supported scripts (residing in CPPQEDscripts
) rely on them so that they are tested by the testsuite(s). The exact list of these elements does have some historical determination and the list may be extended and supplemented in the future. For how to add custom elements to the framework and write custom scripts using them cf. the directories CustomElementsExample
and CustomScriptsExample
.Reside in CPPQEDelements/frees
A single harmonic-oscillator mode that might be driven and interact with a reservoir of possibly finite temperature. Notation: .
Class name | Hamiltonian | Liouvillean | Displayed characteristics | |
---|---|---|---|---|
Mode | n/a | n/a | … | |
ModeSch | n/a | ” | ” | |
PumpedMode | = Mode | ” | ” | |
PumpedModeSch | n/a | ” | ” | |
LossyMode | n/a | ” | ||
LossyModeUIP | = Mode | “ | ” | |
LossyModeSch | n/a | ” | ” | |
PumpedLossyMode | = LossyMode | ” | ” | |
PumpedLossyModeUIP | LossyModeUIP + PumpedMode | = Mode | ” | ” |
PumpedLossyModeSch | LossyModeUIP + PumpedModeSch | n/a | ” | ” |
Qbit has the same versions as Mode, but finite temperature is not yet implemented in this case. Notation:
Hamiltonian | Liouvillean | Displayed characteristics | ||
---|---|---|---|---|
Qbit … | depends on used picture |
cutoff=2
, so that we can reuse much code from Mode when implementing QbitSpin is characterized by a fixed magnitude whereupon its quantum numbers are so that its dimension is . In the framework, all state vectors are indexed starting with 0, so that the element corresponds to the basis vector . Notation:
Class name | Hamiltonian | Liouvillean | Displayed characteristics | |
---|---|---|---|---|
Spin | n/a | n/a | … | |
LossySpin | n/a | ” | ” | |
SpinSch | n/a | n/a | ” |
These elements could be more accurately called a 1D motional degree of freedom.
The basic Hamiltonian is most conveniently implemented in momentum basis. Discrete k-basis amounts to finite quantization length in x-space. Our choice of units is such that the smallest momentum is , so that the quantisation length in x-space is . The use of discrete k-basis entails periodic boundary condition in x-basis. Spatial resolution is an integer power of 2 to be able to perform radix-2 FFT.
Notation: recoil frequency k-operator . Hence the basic Hamiltonian:
The Particle elements have conservative dynamics.
Class name | Hamiltonian | Displayed characteristics | |
---|---|---|---|
Particle | n/a | … | |
ParticleSch | n/a | ” | |
PumpedParticle | = Particle | ” | |
PumpedParticleSch | n/a | ” |
Here, is the mode function of the pump, which can be with arbitrary integer .
Reside in CPPQEDelements/interactions
All the operators are automatically taken in interaction picture, if the underlying free element is in interaction picture.
Class name | Free elements | Hamiltonian | Displayed characteristics |
---|---|---|---|
JaynesCummings | (Qbit / Spin) – Mode | n/a | |
GeneralDicke | Mode – Spin | n/a | |
NX_CoupledModes | Mode – Mode | n/a | |
QbitModeCorrelations | Qbit – Mode | n/a | |
ModeCorrelations | Mode – Mode | n/a | covariances of the modes’ quadratures |
The classes ParticleOrthogonalToCavity and ParticleAlongCavity come with several constructors which implement slightly different versions of these interactions. If passed in particlecavity::ParsAlongGenericPump
or particlecavity::ParsOrthogonalGenericPump
, the effective driving of the cavity is taken as parameter from this class. If passed in particlecavity::ParsAlong
or particlecavity::ParsOrthogonal
, the parameter is derived from the pump of the particle instead by the relation . In this scenario, is either taken from the particle if it is a pumped particle, or it is passed into the constructor directly for the case of particle pump orthogonal to the particle motion.
Class name | Free elements | Hamiltonian | Displayed characteristics |
---|---|---|---|
ParticleOrthogonalToCavity | Mode – PumpedParticle | n/a | |
ParticleAlongCavity | Mode – Particle (pump orthogonal to cavity) | n/a | |
ParticleAlongCavity | Mode – PumpedParticle (pump along cavity with mode function ) | n/a | |
ParticleTwoModes | Mode – Mode – Particle | n/a |
1particle1mode
and others.multi-level Jaynes-Cummings