HaeffnerLab / IonSim.jl

a simple tool for simulating trapped ion systems
https://ionsim.org
MIT License
70 stars 17 forks source link

Thermal State "truncated" vs "analytic" #113

Closed kdbarajas closed 1 year ago

kdbarajas commented 1 year ago

https://github.com/HaeffnerLab/IonSim.jl/blob/3bbdce9483ef2a9d960812d99dac2fd1d85fc60f/src/operators.jl#L3 thermalstate(v::VibrationalMode, n̄::Real; method="truncated") has no distinction between "truncated" and "analytic" method

jbroz11 commented 1 year ago

one is normalized and one isn't