-
Notifications
You must be signed in to change notification settings - Fork 19
Add new symbolic bosonic operators and states #113
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #113 +/- ##
==========================================
- Coverage 76.62% 75.96% -0.67%
==========================================
Files 19 19
Lines 830 828 -2
==========================================
- Hits 636 629 -7
- Misses 194 199 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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! A few comments below:
- I noticed two separate pre-existing problems with the
predefined_fock
stuff. No need to fix them here, but could you make an issue for each to track them? - Some questions about how things are printed, how things are named, and a few type constraints.
migrating ParticleBasis makes sense to me |
@Krastanov let me know when this looks good to merge. |
@Krastanov ping. |
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 lateness on reviewing this. If the changes I made in the last commit make sense and are fine with you, and if the tests pass, feel free to merge.
LGTM. Failing tests are unrelated to this PR. |
I will add
express
functionalities for QuantumOptics and Gabs in separate PRs to make review easier. This review paper is a good quick reference for the quantum objects implemented here.One thing to note: I would like to add symbolic position and momentum operators in the future. With the way the internals of QSymbolics are currently defined, this would require having support for
PositionBasis
andMomentumBasis
types in QOBase.jl (https://github.com/qojulia/QuantumOpticsBase.jl/blob/c9c24f96ed9b79a2cb2eeeeb6fc497defedea6a5/src/particle.jl#L6-L63). I suppose we could migrateParticleBasis
subtypes into QuantumInterface.jl so that they could be used here? Would that be easy to do? Linking this issue qojulia/QuantumInterface.jl#33.