-
-
> When I run the sample code on the VQE page
`vqe_inst.expectation(small_ansatz([angle]), hamiltonian, 10000, qvm)`
There is an error shown as below
![jietu20171205-171347](https://user-images.gi…
-
The example notebook for GateNoiseModel's contains a lot of code that is not currently unit tested and that could be more generically useful. Let's move it into `pyquil.kraus`
-
running tox on python 3.6 leads to errors due to missing hasability of pyQuil programs in the latest version of pyQuil:
```__________________________________________________________________________…
-
-
Collection of issues involving defining and using gates, in order from most helpful:
1. Defining gates with parameters should be possible entirely within PyQuil. Right now it involves doing some st…
-
Is there any detailed description about how to connect with Quantum Processor? I'm certain that I have run the 'pyquil-config-setup'. Does it mean that my account doesn't have the Privilege to access …
-
```python
>>> DefGate("A", np.array([[1, 0], [0, 1]])).out()
```
throws the following error:
```
Traceback (most recent call last):
File "", line 1, in
File "/Users/steven/workspace/pyqu…
-
Reproducers:
```python
from pyquil.gates import H
from pyquil.quil import Program
p = Program(H(0)).measure(0, 0)
p = p.if_then(0, p) # infinite self-call
p.synthesize()
```
```python
f…
-
Is this expected behavior?
```
from pyquil.quil import Program
p = Program()
q = p.alloc()
# The following works fine...
p.inst(('X', q))
# No dice
p.inst(['X', q])
Traceback (most recent c…