We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently simulaqron blocks while waiting for a qubit or an EPR pair. This is because we call Pythons time.sleep at https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1027 and https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1444. Instead of blocking we can use a similar approach to what we do when connecting, by using twisted callLater-functionality, see for example https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/simulaqron/virtNode/virtual.py#L274.
time.sleep
callLater
The text was updated successfully, but these errors were encountered:
Wojtek242
AckslD
No branches or pull requests
Currently simulaqron blocks while waiting for a qubit or an EPR pair. This is because we call Pythons
time.sleep
at https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1027 and https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/cqc/backend/cqcMessageHandler.py#L1444. Instead of blocking we can use a similar approach to what we do when connecting, by using twistedcallLater
-functionality, see for example https://github.com/SoftwareQuTech/SimulaQron/blob/bf918480b23bc86327725b5c94806e7208eda44d/simulaqron/virtNode/virtual.py#L274.The text was updated successfully, but these errors were encountered: