-
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.
* update pyquil to v3, add qcs-api-client * replace ForestConnection with QCSClientConfiguration * migrate qvm to pyquil v3 * reenable forest.qpu and migrate to pyquilv3 * migrate forest.(numpy_)wavefunction to pyquil v3 * fix how timeouts are handled in qvm * first pass at documentation updates * forest -> QCS * get qvm tests passing * get QPU tests passing * relax pyquil requirement, doc suggestions * make shot_range, bin_size optional to match QubitDevice, cleanup RESET instruction * let pyQuil set its own defaults add missing asserts to tests * create separate doc for server config and include it where needed * reformat with black * remove RequestException as it is no longer used in pyQuil * Update README.rst Co-authored-by: Albert Mitjans <a.mitjanscoma@gmail.com> * Update README.rst Co-authored-by: Albert Mitjans <a.mitjanscoma@gmail.com> * Update README.rst Co-authored-by: Albert Mitjans <a.mitjanscoma@gmail.com> * fix typo in qpu docs and correct notes on server configuration * remove special mention of operations that are now available in pennylane * remove reference to special operations, add lower bound for PennyLane * add compiler and execution timeout to docstrings * add docstring to extract_samples * remove unused kwargs on ForestDevice and its children * reformat with black * remove comment on wrap_in_numshots_loop * consolidate gate import, remove comment about unsupported gates * use dict literal instead of dict() * remove mention of special support for gates * remove figure, add description to title-card directives * import CPHASE * remove extra params from super call * increase shots on tests without parametric_compilation * remove pytest.mark.xfail from converter tests * fix jacobian call in differntiation test * device refactor: move shared init logic into ForestDevice * device refactor: move execute and apply into ForestDevice * device refactor: move circuit_hash, compiled_program properties into ForestDevice * device refactor: consolidate reset method logic into ForestDevice * device refactor: move generate and extract_samples into ForestDevice * device refactor: QPUDevice inherits from ForestDevice * device refactor: formatting and cleanup * device refactor: lift shared logic for qvm qpu out of ForestDevice into new QuantumComputerDevice * device refactor: make noisy a qvm only param, cleanup docstrings * device refactor: cleanup and reformat with black * device refactor: cleanup a few pylint nits * Fix tests * set min pennylane version to 0.18 * replace plugin operations with pennylane gates * fix pyquil.simulation import * remove extra reset in QCDevice, add requested docstrings * remove trailing newline, simplify simulation import * simplify generate_samples and move `pyqvm` specific logic to QVMDevice * update docs requirements * bump quilc version in workflows * fix typo in method name * make sure program isn't compiled if it's been cached * remove extraneous failing test that unnaturally overwrites private value * pylint: initialize all instance params in __init__ * increase EXECUTION_TIMEOUT Co-authored-by: Albert Mitjans <a.mitjanscoma@gmail.com>
- Loading branch information
1 parent
1470933
commit dcc8eeb
Showing
29 changed files
with
740 additions
and
1,053 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
QVM and quilc server configuration | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. note:: | ||
|
||
If using the downloadable Forest SDK with the default server configurations | ||
for the QVM and the Quil compiler (i.e., you launch them with the commands | ||
``qvm -S`` and ``quilc -R``), then no special configuration is needed. | ||
If using a non-default port or host for either of the servers, see the | ||
`pyQuil configuration documentation <https://pyquil-docs.rigetti.com/en/stable/advanced_usage.html#pyquil-configuration>`_ | ||
for details on how to override the default values. |
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.