Skip to content

Commit 50e0159

Browse files
weinbe58Copilot
andauthored
Update src/bloqade/pyqrack/task.py
Co-authored-by: Copilot <[email protected]>
1 parent d228bbe commit 50e0159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bloqade/pyqrack/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run(self) -> RetType:
3232
def state(self) -> MemoryType:
3333
return self.pyqrack_interp.memory
3434

35-
def state_vector(self):
35+
def state_vector(self) -> list[complex]:
3636
"""Returns the state vector of the simulator."""
3737
self.run()
3838
return self.state.sim_reg.out_ket()

0 commit comments

Comments
 (0)