Skip to content

Commit

Permalink
Remove unintended spaces
Browse files Browse the repository at this point in the history
Sorry, I forgot to remove the spaces.
  • Loading branch information
julenl authored Nov 27, 2023
1 parent 76b399d commit 4f11583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_nature/second_q/circuit/library/ansatzes/ucc.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def _check_ucc_configuration(self, raise_on_failure: bool = True) -> bool:
f"(alpha, beta) particles."
)
return False

if any(n > self.num_spatial_orbitals for n in self.num_particles):
if raise_on_failure:
raise ValueError(
Expand Down

0 comments on commit 4f11583

Please sign in to comment.