-
Notifications
You must be signed in to change notification settings - Fork 586
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
State preparation ops for tensor network #395
Conversation
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
=========================================
Coverage ? 99.39%
=========================================
Files ? 36
Lines ? 2461
Branches ? 0
=========================================
Hits ? 2446
Misses ? 15
Partials ? 0
Continue to review full report at Codecov.
|
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.
Currently the plugins check that state preparation is done as a first operation on a device-by-device basis (and some devices don't even check). It would be great to implement the suggestion in #386
Context: The tensor network simulator is currently missing some state preparation ops
Description of the Change: Adding
BasisState
andQubitStateVector
Benefits: these ops will now be supported
Possible Drawbacks: not sure where in the stack we are checking that state preps happen at the start of the circuit
Related GitHub Issues: #386