Mark Hodson

Results 17 comments of Mark Hodson

Hi @notmgsk - so I just checked and my assumption about mypy was wrong. It seems PyCharm has its own native implementation of the relevant PEPs pertaining to type checking...

See linked issue #1258 for recommended fix for both these issues.

For completeness, the following additional code gives the (different) QVM result: ``` qvm = pyquil.get_qc("3q-qvm") ro = p.declare("ro", "BIT", 3) p += pyquil.gates.MEASURE(0, ro[0]) p += pyquil.gates.MEASURE(1, ro[1]) p +=...

[wavefunction_fast_sample_bitstrings.zip](https://github.com/rigetti/pyquil/files/5600840/wavefunction_fast_sample_bitstrings.zip) This notebook provides an alternative solution that (a) dramatically improves the speed of generating samples (more than a factor of 10 in some cases); (b) provides an "as_qam" flag...

The meaning of this method is to disable global fencing on 2Q gates, and that should be clear in the documentation. If this is to apply to all 2Q native...

[quipper-gse-example.zip](https://github.com/Quantomatic/pyzx/files/9494758/quipper-gse-example.zip) I have attached an example of a Quipper output from the Ground State Estimation application. In addition to omitting the "nocontrol" keyword, Quipper circuits may omit declaration of the...

[46-fix-parse-quipper-nocontrol.zip](https://github.com/Quantomatic/pyzx/files/9496407/46-fix-parse-quipper-nocontrol.zip) @jvdwetering - Here is a patch for the minimal change set to support the absence of "nocontrol", and also to support other Quipper commands including QMeas, QDiscard. Includes a...

Thorough test, good by me too.

Note: While I'm not Lisp fluent, I did a Git diff between 1.23.0 and 1.25.0. The error emits from `initial-rewiring.lisp` which was not modified between 1.23.0 and 1.25.0. However, some...

> @mhodson-rigetti I'm not at a computer at the moment, but does adding this at the top of your Quil program change anything? > > ``` > PRAGMA INITIAL_REWIRING "PARTIAL"...