spheres.oscillators¶
Functions for dealing with oscillators, particularly in the case of double oscillators in the context of the Schwinger representation of spin.
Functions
|
Constructs annihilators for a given number of oscillators with given cutoff dimension. |
|
Returns (nonzero) spin-j states correspond to the 2D oscillator state (pure or mixed). |
|
Extracts spin-j blocks from a 2D oscillator operator. |
|
Extracts spin-j states from a 2D oscillator state. |
|
Returns permutation from the tensor basis of two oscillators to the basis organized by total N, in other words, to a tower of spin states. |
|
Upgrades a first quantized operator to a second quantized operator given a list of annihilators. |
|
Upgrades a spin state to a second quantized creation operator given a list of annihilators. |
|
Upgrades a first quantized state to a second quantized creation operator given a list of annihilators. |
|
Second quantized Pauli X, Y, Z operators on two harmonic oscillators. |
|
Returns the 2D oscillator state corresponding to a given spin-j state (pure or mixed). |
|
Construct linear map from spin-j states into the Fock space of the 2D quantum harmonic oscillator. |
Given the overal dimension of a spin tower, return the individual dimensions of the spin states. |
|
|
<X>, <Y>, <Z> expectation values on the given double oscillator state. |
|
List of spin-j states to a 2D quantum harmonic oscillator state. |
|
Constructs vacuum state for a given number of oscillators with given cutoff dimension. |