CQCL / tket

Source code for the TKET quantum compiler, Python bindings and utilities
https://tket.quantinuum.com/
Apache License 2.0
249 stars 48 forks source link

BackendResult incorrect return types for strict type checking #1548

Open NathanCQC opened 8 months ago

NathanCQC commented 8 months ago

from numpy.typings import NDArray import numpy as np

.get_state() should return NDArray[np.complex128]

.get_unitary should return NDArray[np.complex128, np.complex128]

CalMacCQ commented 4 months ago

Is this still an issue? If so, could you reopen it on the CQCL/tket repo?

Thanks