-
Notifications
You must be signed in to change notification settings - Fork 68
fix parity_matrix generation and parameter calculations in classical LiftedCode
#525
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
base: master
Are you sure you want to change the base?
Conversation
LiftedCode and correct parameters calculationLiftedCode and correct parameters calculation
0ee85fd to
bc58e05
Compare
bc58e05 to
4cc8eac
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #525 +/- ##
==========================================
+ Coverage 85.11% 85.16% +0.05%
==========================================
Files 121 121
Lines 7248 7248
==========================================
+ Hits 6169 6173 +4
+ Misses 1079 1075 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This PR is ready for review, Thank you! |
LiftedCode and correct parameters calculationLiftedCode and correct parameters calculation
Krastanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, this is great! Could you add a small test for what used to fail, just to make sure that similar failures do not get reintroduced at some point.
|
Thank you for your feedback! I have added basic tests with The stacktrace of the errors resulting from Defined |
LiftedCode and correct parameters calculationparity_matrix generation and parameter calculations in classical LiftedCode
|
ping @Krastanov |
…or Classical Codes, so specific code_k is not required if it's based on general formula
|
@Krastanov, when you have a moment, please let me know your feedback. I have fixed the |
The classical LiftedProduct code parity checks matrices have not really been used as seed for any quantum code so this bug was not detected. Reference: #356
Edit:
🐞 Stacktrace of
MethodErrorwhen callingparity_checksAdditionally, I have not added doctest for this first wrapper constructor that calls the second constructor and I am not sure if there is any potential bug calling this or not.
QuantumClifford.jl/ext/QuantumCliffordHeckeExt/lifted.jl
Line 68 in def729f