Peter Karalekas

Results 17 issues of 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...

question

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...

bug

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 =...

discussion :thinking:

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...

discussion :thinking:

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)...

enhancement :sparkles:
good first issue :baby:

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...

bug :bug:
good first issue :baby:

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...

devops :rocket:

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...

enhancement :sparkles:
refactor :hammer:

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...

enhancement :sparkles:

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...

devops :rocket: