tket icon indicating copy to clipboard operation
tket copied to clipboard

BackendResult incorrect return types for strict type checking

Open NathanCQC opened this issue 1 year ago • 1 comments

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]

NathanCQC avatar Jan 16 '24 11:01 NathanCQC

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

Thanks

CalMacCQ avatar Apr 25 '24 10:04 CalMacCQ

This issue has been automatically marked as stale.

github-actions[bot] avatar Jan 12 '25 05:01 github-actions[bot]