Skip to content

Commit

Permalink
remove unnecessary casts
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jun 25, 2024
1 parent f670b48 commit 94af00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ffsim/qiskit/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _evolve_state_vector_spinless(
)
vec = state_vector.vec
norb = state_vector.norb
nelec = cast(int, state_vector.nelec)
nelec = state_vector.nelec

if isinstance(op, DiagCoulombEvolutionSpinlessJW):
vec = gates.apply_diag_coulomb_evolution(
Expand Down

0 comments on commit 94af00c

Please sign in to comment.