Skip to content

Commit

Permalink
Pass through start_at to build_basis when generating starting vectors…
Browse files Browse the repository at this point in the history
… for excited states

Co-authored-by: Joachim Brand <joachim.brand@gmail.com>
  • Loading branch information
jamie-tay and joachimbrand authored Nov 28, 2024
1 parent c8ffb31 commit 46a7d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc_simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function _set_up_starting_vectors(
)
end
elseif n_spectral > 1
basis = build_basis(ham; minimum_size)
basis = build_basis(ham, start_at; minimum_size)
trunc = BasisSetRepresentation(ham, basis; filter=Returns(false), sizelim=Inf)
vecs = eigvecs(Matrix(trunc))
if threading
Expand Down

0 comments on commit 46a7d9a

Please sign in to comment.