foldfelis-QO / QuantumStateBase.jl

Quantum states for quantum optics.

Home Page:https://foldfelis-qo.github.io/QuantumStateBase.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Quantum states for quantum optics.

https://foldfelis-qo.github.io/QuantumStateBase.jl/

License:MIT License


Languages

Language:Julia 100.0%