We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d228bbe commit 50e0159Copy full SHA for 50e0159
src/bloqade/pyqrack/task.py
@@ -32,7 +32,7 @@ def run(self) -> RetType:
32
def state(self) -> MemoryType:
33
return self.pyqrack_interp.memory
34
35
- def state_vector(self):
+ def state_vector(self) -> list[complex]:
36
"""Returns the state vector of the simulator."""
37
self.run()
38
return self.state.sim_reg.out_ket()
0 commit comments