项目作者: foldfelis-QO

项目描述 :
Quantum states for quantum optics.
高级语言: Julia
项目地址: git://github.com/foldfelis-QO/QuantumStateBase.jl.git
创建时间: 2021-07-06T07:15:40Z
项目社区:https://github.com/foldfelis-QO/QuantumStateBase.jl

开源协议:MIT License

下载


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:

  1. pkg> add QuantumStateBase

Quick start

Construct a squeezed thermal state and plot the Wigner function

  1. julia> using QuantumStateBase, Plots
  2. julia> state = SqueezedThermalState(0.5, 3π/2, 0.3, dim=35);
  3. julia> w = wigner(state, LinRange(-3, 3, 101), LinRange(-3, 3, 101));
  4. julia> heatmap(w.x_range, w.p_range, w.𝐰_surface')