-
Notifications
You must be signed in to change notification settings - Fork 34
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 identitysuperoperator and dagger for SuperOperator #116
Conversation
@akirakyle , thank you for the numerous submissions you have made over the last two days! It will not be immediate, but over the next 7 days we should be able to provide feedback on your contributions and help getting them merged! Your work on all of these is very much appreciated! |
Codecov Report
@@ Coverage Diff @@
## master #116 +/- ##
==========================================
- Coverage 93.64% 93.59% -0.06%
==========================================
Files 25 25
Lines 3084 3089 +5
==========================================
+ Hits 2888 2891 +3
- Misses 196 198 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@amilsted , as I was reviewing this, I noticed the following in the behavior of
Could you confirm that it is on purpose that |
@akirakyle , this looks great! Could you make the following two additions?
Lastly, we should probably declare a method-less Thank you for the valuable work you are contributing! |
Yeah, this is how it has worked for a long time (since before I became involved, anyway!). I suppose it works analogously to |
Just so I understand correctly before working on this, should I create a |
I would suggest something much simpler as a start. Just declare a |
An QuantumInterface 0.3.1 registration: JuliaRegistries/General#87597 |
@akirakyle , I made a small change to use the
|
6842c55
to
3ebf8f3
Compare
Thanks for adding |
Just realized I forgot to add tests for |
539621d
to
ca8b146
Compare
Simple tests added for |
I'm not sure that I've implemented these in the right way as I'm still getting the hang of Julia's type system. So I'm opening this as a draft PR with the hope that maybe I can get some feedback on how I should actually implement these, as I am needing them for my research. My guess is that maybe superoperators need to have types similar to
DenseOpAdjType
andSparseOpAdjType
implemented so that adjoints can be done lazily?