Skip to content

Commit

Permalink
Update src/boostvqe/boost.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Pasquale <[email protected]>
  • Loading branch information
Edoardo-Pedicillo and andrea-pasquale authored Oct 16, 2024
1 parent 18f97dd commit 79cf18b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/boostvqe/boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def dbqa_vqe(
)
)
ham = getattr(Model, hamiltonian)(nqubits) # TODO : use only Model and not str
# ham = hamiltonian(nqubits)
target_energy = np.real(np.min(np.asarray(ham.eigenvalues())))

# construct circuit from parsed ansatz name
Expand Down

0 comments on commit 79cf18b

Please sign in to comment.