- Add missing BuildRequires on pytest-timeout
- Update to 3.3.0:
* gracefully handle error when QPU unavailable for engagement (#1457)
* `QAMExecutionResult` now includes `execution_duration_microseconds`,
providing the amount of time a job held exclusive hardware access.
* Upgrade `qcs-api-client` so that clients can specify a QCS account on
their profile, which `qcs-api-client` will in turn use to set
`X-QCS-ACCOUNT-{ID/TYPE}` headers on outgoing QCS requests, most notably
during engagement creation. (@erichulburd, #1439)
* `setup.py` has been removed and will no longer be generated as part of
the automated release process.
* Function `pyquil.quilatom.substitute()` now supports substitution of
classical `MemoryReference` objects such as `theta[4]` with their
parameter values, enabling user-side parameter substitution.
* The CompilerISA of physical QPUs now assigns a fidelity of 1 to virtual
RZs.
* Fixed typo where `scale` was being used as the `phase` in generation of
several waveforms.
* Both `get_qc` and `QPU` now accept an `endpoint_id` argument which is
used to engage against a specific QCS quantum processor endpoint.
* Allow `np.ndarray` when writing QAM memory. Disallow non-integer and
non-float types.
* Fix typo where `qc.compiler.calibration_program` should be
`qc.compiler.get_calibration_program()`.
* `DefFrame` string-valued fields that contain JSON strings now round trip
to valid Quil and back to JSON via `DefFrame.out` and `parse`. Quil and
JSON both claim `"` as their only string delimiter, so the JSON `"`s are
escaped in the Quil.
* Python 3.6 is no longer supported. Python 3.7, 3.8, and 3.9 are supported.
OBS-URL: https://build.opensuse.org/request/show/1003657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquil?expand=0&rev=6
* gracefully handle error when QPU unavailable for engagement (#1457)
* `QAMExecutionResult` now includes `execution_duration_microseconds`,
providing the amount of time a job held exclusive hardware access.
* Upgrade `qcs-api-client` so that clients can specify a QCS account on
their profile, which `qcs-api-client` will in turn use to set
`X-QCS-ACCOUNT-{ID/TYPE}` headers on outgoing QCS requests, most notably
during engagement creation. (@erichulburd, #1439)
* `setup.py` has been removed and will no longer be generated as part of
the automated release process.
* Function `pyquil.quilatom.substitute()` now supports substitution of
classical `MemoryReference` objects such as `theta[4]` with their
parameter values, enabling user-side parameter substitution.
* The CompilerISA of physical QPUs now assigns a fidelity of 1 to virtual
RZs.
* Fixed typo where `scale` was being used as the `phase` in generation of
several waveforms.
* Both `get_qc` and `QPU` now accept an `endpoint_id` argument which is
used to engage against a specific QCS quantum processor endpoint.
* Allow `np.ndarray` when writing QAM memory. Disallow non-integer and
non-float types.
* Fix typo where `qc.compiler.calibration_program` should be
`qc.compiler.get_calibration_program()`.
* `DefFrame` string-valued fields that contain JSON strings now round trip
to valid Quil and back to JSON via `DefFrame.out` and `parse`. Quil and
JSON both claim `"` as their only string delimiter, so the JSON `"`s are
escaped in the Quil.
* Python 3.6 is no longer supported. Python 3.7, 3.8, and 3.9 are supported.
* `pyquil.compatibility.v2` provides a number of classes/utilities which
support the pyQuil v2 API, such as `get_qc`; `pyquil.compatibility.v2.api`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyquil?expand=0&rev=11
- Disable build for python36 because scipy dependency.
- Update to version 2.27.0.
* Bump RPCQ dependency to 3.6.0.
* Tests can be run in parallel.
* Fix hanging test due to ZMQ bug.
* Fix unitary comparison in Quil compilation test .
* Fix parsing comments in Lark grammar.
- Updates for version 2.26.0.
* Quil-T brings the dimension of time to your quantum programs!
* Quil-T is an extension of Quil which allows one to develop
quantum programs at the level of pulses and waveforms and
brings an unprecedented level of fine-grained control over
the QPU.
* Unpacking bitstrings is significantly faster.
* Parsing is now performed using Lark rather than ANTLR, often
allowing a 10x improvement in parsing large and complex
programs.
* Gates now generally allow a "formal" qubit label as in
DEFCIRCUIT, rather that requiring a numeric index.
* Program objects come with additional Quil-T related properties,
such as calibrations, waveforms, and frames.
* The AbstractCompiler classes come with tools for performing
calibration of programs. Namely, get_calibration_program
provides a program for calibrating against recent QPU settings.
rewrite_arithmetic now converts phase angle from radians to
revolutions.
* Readout is more permissive, and does not require the
destination to be named "ro".
* The default value for QPU_COMPILER_URL has been updated to
point to Rigetti's translation service. This changes allows one
to use the translation service to translate a Quil- program and
receive the binary payload without having a QPU reservation.
- Updates for version 2.25.0.
* Timeout configuration has been revamped. get_qc now accepts a
compiler_timeoutoption, and QVMCompiler and QPUCompiler provide
a set_timeout method, which shouldgreatly simplify the task of
changing the default timeout. QVMCompiler also provides a
quilc_client property so that it shares the same interface as
QPUCompiler. Documentation has been updated to reflect these
changes.
- Updates for version 2.24.0.
* run_and_measure now only measures the qubits that are used in a
program (rather than all qubits on the device) when the target
QAM is a QVM without noise. This prevents the QVM from
exhausting memory when it tries to allocate for e.g. 32 qubits
when only e.g. 2 qubits are used in the program
* Include a py.typed so that libraries that depend on pyquil can
validate their typing against it
* Fix Apache 2 license
* Removed warnings expected in normal workflows that cannot be
avoided programmatically. This included the warning about
passing native Quil to native_quil_to_executable. Documentation
has been updated to clarify expected behavior.
OBS-URL: https://build.opensuse.org/request/show/864388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyquil?expand=0&rev=3