In understanding how to use PyQrack to simulate a squin kernel I turned to the QFT example, which has the following:
Finally, we will run the main function on the PyQrack backend and print the quantum register to see the final state of the qubits after applying the QFT circuit.
device = PyQrack()
qreg = device.run(main)
print(qreg)
But, this seems to only return if each qubit is active or not (not it's quantum state as the text suggests).
@david-pl suggested we should update this to us the StackMemorySimulator.
In understanding how to use PyQrack to simulate a squin kernel I turned to the QFT example, which has the following:
Finally, we will run the main function on the PyQrack backend and print the quantum register to see the final state of the qubits after applying the QFT circuit.
But, this seems to only return if each qubit is active or not (not it's quantum state as the text suggests).
@david-pl suggested we should update this to us the
StackMemorySimulator.