Skip to content

Commit

Permalink
typing of from_array fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisRalli committed Sep 30, 2022
1 parent 145b37f commit 2713bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symmer/symplectic/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2713bac

Please sign in to comment.