Peter Karalekas
Peter Karalekas
When using the `wavefunction` feature of the QVM (from pyQuil), sending the empty program returns a wavefunction array of length 1 (`array([1.+0.j])`), but sending the program `I 0` returns a...
For example, when I send the program `H 1`, the QVM rewrites 1 -> 0 as is expected behavior for using the least number of qubits possible, but for shared...
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 =...
In PR #867, @jlbosse is looking to extend the `PauliTerm`/`PauliSum` interface to include a method for getting its matrix representation. In the `unitary_tools` module, there exists a function `lifted_pauli` which...
Right now the README recommends this as the standard way to write a program: ```python p = Program() p += H(0) p += CNOT(0, 1) ro = p.declare('ro', 'BIT', 2)...
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...
Brain dump of some things that came to mind recently: - developer section about `latex` module - ~~maintainer section about `.gitlab-ci.yml` and `Makefile`~~ https://github.com/rigetti/pyquil/pull/1166 - maintainer section about top-level text...
There is much we can do to improve the "device" component of pyQuil. In the README, we write that pyQuil is for: - Easily generating Quil programs from quantum gates...
In the `device.py` file, we have a set of classes that define a schema for a quantum computer. In the `api/_quantum_computer.py` file, we have a collection of private functions that...
The docs build is currently broken because `nbformat` broke their code. Pinning library dependencies is a no-no, but there should be no issue with pinning dev dependencies. In addition, the...