-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes the plugin to support pyquil 2.16 * bump pyQuil version * added rewiring * Fixed qubit measuring order * store compiled program * remove partial rewiring * return partial * fix wiring key error * First draft of porting to QubitDevice * Modifying BasisState such that it uses the wires passed (instead of enumerate); rename CCNOT to Toffoli; fix test for test_qvm * Fixing qvm and qpu and their tests * Fixes for the wavelength simulator and tests * Fixing WavefunctionDevice and NumpyWaveFunction Device; added functionality to raise an error for QVM analytic=True case (test included) * Increasing shots for QPU tests * Modifying comments, removing active_wires from test * Update pennylane_forest/qpu.py Co-Authored-By: Josh Izaac <josh146@gmail.com> * Implementing feedback * Docstring * Using keyword arguments for apply, fixing matrices that were used previously from default.qubit, increasing number of shots such that the stochastic tests will more likely pass * Modifying the requirements file for the checks * Decreasing number of shots and adding flaky tests to stochastic test cases (each is tried 10 times and they need to pass at least once) * Rename apply_wiring to remap_wires * Remove no longer used instance attribute _eigs from QVMDevice * Refactor QVMDevice such that generate_samples returns samples instead of returning and assigning it to dev._samples; adjusting the tests accordingly * Remove unused imports * Modfying qpu test to be a parametrized test * Adjust flaky runs * Remove unnecessary else * Restricting the qpu lattices that can be used * Decresase the number of required pass runs for test Co-authored-by: Josh Izaac <josh146@gmail.com>
- Loading branch information
1 parent
f609a42
commit c03085e
Showing
13 changed files
with
792 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.