Skip to content

Commit

Permalink
Merge pull request #43 from phantomlsh/fix-Examples/qo_twophoton
Browse files Browse the repository at this point in the history
Fix Examples/qo_twophoton
  • Loading branch information
mabuni1998 authored Dec 18, 2023
2 parents 33d42ef + 1d0e680 commit 8079693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/qo_twophoton.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ H = param.δ*n + im*sqrt(param.γ/dt)*(adw-wda) + param.x3/4*(n*n+n)
#Define input twophoton state shape
ξfun(t1,t2,σ1,σ2,t0) = sqrt(2/σ1)* (log(2)/pi)^(1/4)*exp(-2*log(2)*(t1-t0)^2/σ1^2)*sqrt(2/σ2)* (log(2)/pi)^(1/4)*exp(-2*log(2)*(t2-t0)^2/σ2^2)

ψ_cw = twophoton(bw,ξfun,param.times,param.σ,param.σ,param.t0)
ψ_cw = twophoton(bw,ξfun,param.σ,param.σ,param.t0)
psi = fockstate(bc,0) ψ_cw

ψ = waveguide_evolution(param.times, psi, H)
Expand Down

0 comments on commit 8079693

Please sign in to comment.