diff --git a/symmer/symplectic/base.py b/symmer/symplectic/base.py index bb7cde50..189daedb 100644 --- a/symmer/symplectic/base.py +++ b/symmer/symplectic/base.py @@ -1046,7 +1046,7 @@ def sample_state(self, n_samples: int, return_normalized: bool=False) -> "Quantu @classmethod def from_array(cls, - statevector: Union[List[complex], np.array], + statevector: np.array, threshold: float =1e-15, ) -> "QuantumState": """ Initialize a QubitState from a vector of 2^N elements over N qubits