From 4f115830c95470e14b79708c2e001697c6f28635 Mon Sep 17 00:00:00 2001 From: Julen Larrucea Date: Mon, 27 Nov 2023 18:51:31 +0100 Subject: [PATCH] Remove unintended spaces Sorry, I forgot to remove the spaces. --- qiskit_nature/second_q/circuit/library/ansatzes/ucc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_nature/second_q/circuit/library/ansatzes/ucc.py b/qiskit_nature/second_q/circuit/library/ansatzes/ucc.py index 20e6ce029..a36d4d423 100644 --- a/qiskit_nature/second_q/circuit/library/ansatzes/ucc.py +++ b/qiskit_nature/second_q/circuit/library/ansatzes/ucc.py @@ -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(