Bosonic Occupation Bases
Bosonic numerical bases require either a fixed total particle number or an explicit occupation cutoff. The cutoff is part of the approximation: it changes the oscillator commutator at the boundary and can contaminate low-energy results when population reaches that boundary.
Helpful background. Bosonic Fock space explains occupation states; tensor products in code explains their array ordering.
Occupation tuples and ladder factors
Section titled “Occupation tuples and ladder factors”For modes use tuples and
There is no parity sign from other modes. A local cutoff gives states. A fixed total number , with no additional local cutoff, gives states by the stars-and-bars count.
Enumerate tuples recursively by assigning one mode and distributing the remaining particle number. Store a tuple-to-index map; tuple ordering should be deterministic so that saved vectors remain interpretable.
For hopping with , the amplitude is . Apply the annihilation before creation. For , use , not the offsite formula.
Truncated commutator
Section titled “Truncated commutator”For one mode represented on , set the creation action on the top state to zero. Then
This follows because the ordinary commutator is one below the top level, while at the top and . No finite matrix pair can satisfy , since the trace of a commutator is zero.
The defect is therefore expected, not a coding failure. Its expectation is small only if the top-level occupation is small enough for the requested accuracy. Small population alone is a diagnostic, not a universal error bound for every unbounded observable.
Projection also fails to preserve arbitrary operator products. With projecting onto the retained occupations and ,
For the dimensionless oscillator coordinate , the missing excursion to gives
Thus squaring the truncated coordinate matrix differs from projecting the continuum operator. Define which finite Hamiltonian is intended; when approximating a specified continuum polynomial, construct its matrix elements before truncation or include the boundary correction. Both constructions must converge in the target low-energy regime, but their finite-cutoff spectra need not agree. This issue is distinct from the absence of a fermionic parity sign.
Bose–Hubbard dimer benchmark
Section titled “Bose–Hubbard dimer benchmark”For two sites with two particles,
In basis ,
The antisymmetric state has energy . The other energies are . At they are , matching two bosons occupying single-particle energies .
This example detects missing square-root factors. A cutoff removes both doubly occupied states and changes the model to hard-core bosons; it does not approximate this dimer at arbitrary .
Cutoff convergence
Section titled “Cutoff convergence”For a driven oscillator or non-number-conserving model, increase while holding propagation settings fixed. Compare energy, occupation, and the target observable, and inspect the occupation tail. A drive can push probability toward the cutoff only at later times, so inspect the full time interval.
For a number-conserving model with particles, a local cutoff at least includes the entire fixed- space. Further local-cutoff increases add no states. In contrast, grand-canonical thermal calculations require controlling both the particle-number range and Boltzmann tail.
Exercise
Section titled “Exercise”Find the expectation of the truncated commutator for a state with top-level probability .
Solution
It is . Thus a top population of at already changes this expectation by . A fixed probability tolerance independent of cutoff can be misleading.
References
Section titled “References”- QuTiP developers, “Manipulating States and Operators”, QuTiP documentation — finite oscillator matrices.
- Weinberg, P., and Bukov, M., “QuSpin. Part II: bosons, fermions and higher spins,” SciPost Physics 7, 020 (2019), arXiv:1804.06782.