From cf4ed12b6b7e90b502cb0accb5eece6bd60caf4d Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Thu, 22 Feb 2024 12:05:06 -0500 Subject: [PATCH] HO basis testing --- ho_basis_test.jl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ho_basis_test.jl diff --git a/ho_basis_test.jl b/ho_basis_test.jl new file mode 100644 index 0000000..95363cb --- /dev/null +++ b/ho_basis_test.jl @@ -0,0 +1,16 @@ +using LinearAlgebra +include("ho_basis.jl") + +l = 0 +V0 = -10 +R = 1 +n_max = 10 + +ns = collect(0:n_max) +ls = fill(l, n_max + 1) + +T = sp_T_matrix(ns, ls) +V = V0 .* V_Gaussian.(R, l, ns, transpose(ns)) +H = T + V + +eigvals(H) \ No newline at end of file