This repository has been archived by the owner on Oct 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
unitary_generator.py : tensor_gates() tries to call numpy array #18
Comments
Could be a bug in the reference QVM. What do you think? @ncrubin |
Checking in detail this week |
is this issue still open? |
@euler16 Yes. |
@vtomole I want to start contributing to Open Source and specially PyQuil. Could you give me some pointers to solve the issue? |
@euler16 This is not a good isue for first timers. I sugget you work on any of https://github.com/rigetticomputing/pyquil/issues?q=label%3A"good+first+issue"+is%3Aissue+is%3Aopen instead. |
you can also try using / contributing to rigetti/pyquil#552 |
Thank you @vtomole and @mpharrigan :) |
reference_qvm is now cleaned up and in pyquil |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a minimal working example:
When I run this I get the output :
If I switch from the Rigetti server to a local installation of reference-qvm (i.e. comment
from pyquil.api import QVMConnection
and uncomment#from referenceqvm.api import QVMConnection
) and try to run it I get the error :It seems to me that the in the function
tensor_gates()
that it is expecting something other than a numpy array to be returned bydict_check[pyquil_gate.name]
.QUESTIONS:
Thanks
The text was updated successfully, but these errors were encountered: