23 lines
578 B
Julia
23 lines
578 B
Julia
using Plots
|
|
include("../EC.jl")
|
|
|
|
training_ref = -0.72763
|
|
exact_ref = 4.0766890719636635 - 0.01275892774109674im
|
|
|
|
training_c = [2.0, 1.9, 1.8]
|
|
extrapolating_c = 0.0 : 0.2 : 1.2
|
|
|
|
include("../ho_basis_3body_resonance.jl")
|
|
H0 = H
|
|
|
|
# Vp = perturbation to make the state artificially bound
|
|
Vp_of_r(r) = -exp(-(r/3)^2)
|
|
@time "Vp" Vp = get_src_V_matrix(Vp_of_r, basis, μω, μω_global)
|
|
|
|
EC = affine_EC(H0, Vp)
|
|
train!(EC, training_c; ref_eval=training_ref, CAEC=true)
|
|
extrapolate!(EC, extrapolating_c; ref_eval=exact_ref)
|
|
|
|
exportCSV(EC, "temp/HO_B2R.csv")
|
|
plot(EC, "temp/HO_B2R.pdf")
|