-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add test_bases from QuantumOpticsBase and reorganize a bit #37
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #37 +/- ##
===========================================
+ Coverage 17.08% 34.25% +17.16%
===========================================
Files 12 12
Lines 398 400 +2
===========================================
+ Hits 68 137 +69
+ Misses 330 263 -67 ☔ View full report in Codecov by Sentry. |
ab297e7
to
791017c
Compare
could you also bump the JET ignore count to 3. It seems it is the case on master as well. |
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.
Sorry for the delay in getting this reviewed!
This type of reordering is usually to be avoided for two reasons:
- It took me a lot of time to review the changes as moving this around leads to a ton of lines marked as modified (git diff is not very good about just showing moves).
- Using git blame in the future will be much more difficult.
With this in mind, what are the advantages of the reordering that make it worth to pay the price?
""" | ||
Abstract base class for all specialized bases. | ||
|
||
The Basis class is meant to specify a basis of the Hilbert space of the |
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.
The Basis class is meant to specify the Hilbert space of the
To avoid the confusion about basis vs space
In preparation of more significant changes to the basis interface and abstract types being discussed across #12 #25 #26 #27 #33 #34 #35 #36 this PR adds the
test_bases
fromQuantumOpticsBase
, moves all theshow
methods to their own file, and does a little more reorganization. No logic should be affected with this change.