QuantumStateBase.jl

Quantum states for quantum optics.
Author foldfelis-QO
Popularity
7 Stars
Updated Last
1 Year Ago
Started In
July 2021

Quantum State Base

Quantum states for quantum optics

Documentation Build Status Release Website
doc stable badge
doc dev badge
ci badge codecov badge
blue badge
latest release latest release date
license badge
website badge

QuantumStateBase

Installation

The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add QuantumStateBase

Quick start

Construct a squeezed thermal state and plot the Wigner function

julia> using QuantumStateBase, Plots

julia> state = SqueezedThermalState(0.5, 3π/2, 0.3, dim=35);

julia> w = wigner(state, LinRange(-3, 3, 101), LinRange(-3, 3, 101));

julia> heatmap(w.x_range, w.p_range,  w.𝐰_surface')