Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.54 KB

README.md

File metadata and controls

57 lines (40 loc) · 2.54 KB

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')