unitaryfund / pyqrack

Pure Python bindings for the pure C++11/OpenCL Qrack quantum computer simulator library
MIT License
16 stars 8 forks source link

Infinite loop in v0.10.3 #14

Closed WrathfulSpatula closed 2 years ago

WrathfulSpatula commented 2 years ago

An infinite loop in v0.10.3 was fixed by vm6520q/qrack@d9d4650. This simply needs to be published, now, but note the problem with release v0.10.3.

WrathfulSpatula commented 2 years ago

First, there's also a segfault, in the new code, likely from disposing a QEngineOCL before finishing ShuffleBuffers().

WrathfulSpatula commented 2 years ago

This part of the code was reverted, ultimately. This is still a target area to reduce thread use, if std::future instead of OpenCL callbacks causes any Resource temporarily unavailable exceptions, but this is not currently a problem.