Adjust parameters

This commit is contained in:
Nuwan Yapa 2024-02-27 14:28:24 -05:00
parent b4e7897cb7
commit bfb9c3d3b9
1 changed files with 5 additions and 4 deletions

View File

@ -2,21 +2,22 @@ using LinearAlgebra, Plots
include("ho_basis.jl") include("ho_basis.jl")
include("p_space.jl") include("p_space.jl")
ω = 0.25
μ = 0.5 μ = 0.5
l = 0 l = 0
V1 = -8.6 V1 = -8.6
R1 = 1.75 R1 = 1.75
V2 = 3.4 V2 = 3.4
R2 = 3.2 R2 = 3.2
n_max = 30 n_max = 20
ns = collect(0:n_max) ns = collect(0:n_max)
ls = fill(l, n_max + 1) ls = fill(l, n_max + 1)
T = 1/μ * sp_T_matrix(ns, ls) T = 1/μ * sp_T_matrix(ns, ls; ω=ω)
V = V1 .* V_Gaussian.(R1, l, ns, transpose(ns)) + V2 .* V_Gaussian.(R2, l, ns, transpose(ns)) V = V1 .* V_Gaussian.(R1, l, ns, transpose(ns); ω=ω) + V2 .* V_Gaussian.(R2, l, ns, transpose(ns); ω=ω)
n_EC = 16 n_EC = 8
train_cs = (2.2 - 0.7im) .+ (0.1 .* randn(n_EC)) .+ (0.1im * randn(n_EC)) train_cs = (2.2 - 0.7im) .+ (0.1 .* randn(n_EC)) .+ (0.1im * randn(n_EC))
target_cs = range(2.0, 0.8, 6) target_cs = range(2.0, 0.8, 6)