Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
maolinml committed Jun 27, 2024
1 parent 64e2c15 commit 925b969
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/mps_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,14 @@ function run(ahs_json, args)
C6 = args["C6"]
interaction_R = args["interaction-radius"]
n_shots = args["shots"]
Vij, protocol, N = parse_ahs_program(ahs_json, args)
# Vij, protocol, N = parse_ahs_program(ahs_json, args)

# Read atom coords and fillings
atom_coordinates, _ = get_atom_coordinates(ahs_json)
N = length(atom_coordinates)

Vij = get_Vij(atom_coordinates, N, interaction_R, C6)
protocol = parse_protocol(ahs_json, n_τ_steps)

@info "Preparing initial ψ MPS"
s = siteinds("S=1/2", N; conserve_qns=false)
Expand Down

0 comments on commit 925b969

Please sign in to comment.