Skip to content

foldfelis-QO/QuantumStateBase.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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