Closed astrophys closed 5 years ago
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 https://github.com/rigetticomputing/pyquil/pull/552
Thank you @vtomole and @mpharrigan :)
reference_qvm is now cleaned up and in pyquil
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