-
I would like to simulate a circuit with the device noise model. I tried the following code
```python
qvm = get_qc("Aspen-1-16Q-A", as_qvm=True, noisy=True)
ro = p.declare(name='ro', memory_type='BI…
-
Description
-----------------
Controlled gates (other than RX, RY, RZ) with symbolic parameters will not compile.
Controlled RX, RY, RZ gates with symbolic parameters will compile (see[ related i…
-
In the pyQuil documentation for "Programs and Gates", we see snippets like this:
```
import numpy as np
from pyquil import Program
from pyquil.gates import RX, RZ, MEASURE
qubit = 0
p = Pr…
-
We should not assume readout to be perfect, and we should offer at least 2 possibilities:
1. use the readout error mitigation in PyQuil's operator estimation
2. estimate the POVMs and use them to …
-
Usually I can over-ride some standard gate (e.g. `X`) with some Kraus operators using `define_noisy_gate`. The same doesn't seem to work with parametric gates such as `RY`. If I try to run the followi…
-
Thinking of something similar to printing a circuit in Cirq. This would be extremely useful for visualizing both circuits and the network.
Should take in an object that contains a pyquil `Program` …
-
Pre-Report Checklist
--------------------
- [X] I am running the latest versions of pyQuil and the Forest SDK
- [X] I checked to make sure that this bug has not already been reported
Issue Des…
-
Pre-Report Checklist
--------------------
- [x] I am running the latest versions of pyQuil and the Forest SDK
- [x] I checked to make sure that this bug has not already been reported
Issue Des…
-
I recently had to build a program from two different program sources: one with the calibrations, and another with the actual program logic. It was not exactly ergonomic, and I think we should support …
-
This does not parse:
```
DEFCIRCUIT FOO:
NOP
FOO
```
But this is OK:
```
DEFCIRCUIT FOO a:
NOP
FOO 1
```
```python -c 'from pyquil._parser.PyQuilListener import run_parser; run_p…