Bram Evert
Bram Evert
Issue Description ----------------- `Program` currently offers a `out()` method with the option `calibrations`. If set to False, the DefCals will be expanded. A useful extension would be a method which...
Issue Description ----------------- A frequent use-case in simulation and compilation is having a pyquil program, and needing to determine the unitaries associated with each gate. The current approach to do...
## Description Adds support for VSCode devcontainer and GitHub Codespaces. Dockerfile is rewritten, docker-compose.yaml is added and the .devcontainer folder is added.
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...
When simulating circuits with the qsimcirq simulator, measurement confusion maps are ignored. If this is expected behaviour, I have no been able to find it in the documentation. **How to...
```python from pyquil.quiltwaveforms import DragGaussianWaveform import pickle waveform = DragGaussianWaveform(duration=100e-9, fwhm=20e-9, t0=50e-9, anh=100e3, alpha=0.5, scale=1.0, phase=0.0, detuning=0.0) pickle.dumps(waveform) ``` ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[30], line...
**Description of the issue** **How to reproduce the issue** Use the example circuit: [example-circuit.json](https://github.com/quantumlib/Cirq/files/14886269/example-circuit.json) ``` import cirq with open("example-circuit.json", "r") as f: circuit = cirq.read_json(f) simulator = cirq.DensityMatrixSimulator(dtype=np.complex64, noise=None, seed=None,...
U2 Gate
Pyquil currently contains a definition for the `U` gate. However, there is an alternative parameterization that is often used. ``` def U2(θ, ϕ, λ): return np.array([ [np.cos(θ/2) * np.exp(-1j* (ϕ...
The python version is currently specified as `python = ">3.9,3.9,