-
Instead of this:
`RZ(-3.141592653589793) 0`
let's print this:
`RZ(-pi) 0` which is valid quil.
This will aid in program understanding.
-
Hi, just starting out in Clojure and Quil here.
Running `lein run -m hello-quil.core ` gives me the error Cannot run sketch without a display. Read this for possible solutions: https://github.com/p…
-
-
Hi,
I am using webpack, when instantiating Quill class and read https://quilljs.com/guides/adding-quill-to-your-build-pipeline. So I imported aliases as it has been suggested in https://github.com/qu…
-
I'm trying to parse a plain Quil program using `pyquil.parser`:
```
PRAGMA EXPECTED_REWIRING "#(0 1 2 3 4 5 6 7)"
RZ(-pi/2) 2
RX(-pi/2) 2
CZ 3 2
RZ(-pi/2) 3
RX(-pi/2) 3
RZ(-2.968811991889793…
-
@ampolloreno has more details on this
-
I would expect the following to include `0`.
```
>>> from pyquil.quil import Program
>>> p = Program()
>>> p.inst(("H",0))
>>> p.get_qubits()
set([])
>>>
```
-
Now, I'd like to draw a picture on a cell-by-cell basis. So I used #'q/pixels , but I cannot I could not color a canvas in ''http://quil.info/sketches/local/ ...''
How do I add a color on a cell-by-…
-
## Learning goal
The topic of week 3 is to use Quil's user interaction functions to make a simple animation that the user can interact with. For example this could use the `mouse-x` and `mouse-y`, …
-
The following code produces behavior that I don't think is expected:
```
from pyquil.quil import Program
from pyquil.gates import X
p = Program()
q = p.alloc()
r = Program()
r.inst(X(q)) # Shou…