-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
🏁 Windows Support #266
🏁 Windows Support #266
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #266 +/- ##
=======================================
- Coverage 83.6% 83.6% -0.1%
=======================================
Files 49 49
Lines 4162 4159 -3
Branches 372 372
=======================================
- Hits 3481 3477 -4
- Misses 681 682 +1
|
d334c28
to
8dda0b1
Compare
Alright. This is looking much better now already. @pehamTom I just removed the timeouts from the state prep tests and that seems to have done it. Although some of these tests (sometimes) seem to take forever. Do you see any kind of way to reduce the tests or to speed them up? @lucasberent could you please look at the change here: b58b604
|
Well, the timeout is there, so the SAT solver doesn't spend a long time on unsatisfiable instances. I can try to trim down the tests further. But again, there are not many small code instances one can meaningfully test. |
At least on Windows that has led to basically none of the synthesis tasks returning a circuit (see the CI logs from a couple commits ago). |
the test should be correct as is, the comment is wrong the estimate should be [1,0,0].. |
In that case, something is going wrong in the decoder on Windows as it always yields |
perhaps something with the np arrays? Maybe using 'astype' helps otherwise unclear to me. |
9885cf5
to
02f604d
Compare
Ok. Also cleaned up the PR history a little bit so it becomes clearer what changed. |
02f604d
to
6b2ab17
Compare
Signed-off-by: burgholzer <[email protected]>
fb9cbb8
to
069d624
Compare
@pehamTom sorry that I have to bother you again, but I can't seem to get the ft simulation tests to work under Windows 3.12; even after increasing the number of shots by a factor of 10. |
It was another timeout issue with the state preparation. Since some optimal circuits are synthesized for the simulation, they timed out and returned a non-verified circuit. But now the time to run the tests is 77 minutes on windows 3.12. I don't think that is an acceptable amount of time. I think the only way to circumvent this is to either not test the SAT solution for the state preparation and verification circuit synthesis or test the individual SAT formulas used in the encoding separately. |
Yeah. That's somewhat rough.. |
That would be fine by me. |
3088d85
to
c3dc83a
Compare
Signed-off-by: Lukas Burgholzer <[email protected]>
Signed-off-by: Lukas Burgholzer <[email protected]>
Signed-off-by: Lukas Burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
c3dc83a
to
16e4a65
Compare
Signed-off-by: burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
16e4a65
to
25eb6b8
Compare
Signed-off-by: burgholzer <[email protected]>
Signed-off-by: burgholzer <[email protected]>
Everything is passing and I am glad that this is finally in 🎉 |
Description
This PR adds continuous testing and deployment for Windows.
To this end, it switches to the reusable MQT workflows for CI and CD.
Along the way, it fixes a couple of errors that only revealed themselves on Windows.
Checklist: