Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test_SLH.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using Test

au = Destroy(h, :a_u, 1)
c = Destroy(h, :c, 2)
av = Destroy(h, :a_v, 3);
av = Destroy(h, :a_v, 3)

@variables gu::Real Δ::Real γ::Real
@variables gv::Complex
Expand Down
6 changes: 3 additions & 3 deletions test/test_example_cavity_scattering.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ using Test
# output mode
p_sym_2 = [γ, Δ]
p_num_2 = [γ_, Δ_]
dict_p_2 = Dict(p_sym_2 .=> p_num_2);
dict_p_2 = Dict(p_sym_2 .=> p_num_2)

gv_t = coupling_output(v_mode, T)

dict_p_t_2 = Dict([gu, gv] .=> [gu_t, gv_t]);
dict_p_t_2 = Dict([gu, gv] .=> [gu_t, gv_t])

H_QO_2 = to_numeric(H, b; parameter = dict_p_2, time_parameter = dict_p_t_2)
L_QO_2 = to_numeric(L, b; parameter = dict_p_2, time_parameter = dict_p_t_2)
function input_output_2(t, ρ)
H = H_QO_2(t)
J = [L_QO_2(t)]
return H, J, dagger.(J)
end;
end

t_2, ρt_2 = timeevolution.master_dynamic(T, ψ0, input_output_2)

Expand Down
Loading