Bosonic is a Julia toolkit for implementing bosonic simulations and exploring its quantum information properties.
Everything relating to bosons can be expressed in terms of annihilation and creation operators. The full Fock space is infinite-dimensional, so this package focuses on the fixed particle number subspace. It numerically constructs bosonic operators in this reduced system, which the secret weapon of this library. Then you can define states in the corresponding base and calculate several properties.
Many interesting quantities can be obtained from states in Bosonic, such as one body matrices entropy, partially traced systems, m-bodies density matrices, one body entropies, majorization relations, average particle number and more.
For installing this package, you must first access the pkg REPL (by typing ']' in your command line) and then execute
add Bosonic
The pkg manager will automatically download the package. Then you can initialize it by typing
using Bosonic
Alternatively, you can install the package from an editor/Jupyter notebook by typing
import Pkg
Pkg.add("Bosonic")
using Bosonic