Skip to content

Commit

Permalink
merge confs
Browse files Browse the repository at this point in the history
  • Loading branch information
austingmhuang committed Jul 30, 2024
2 parents 41c9074 + a295ece commit ebb439c
Show file tree
Hide file tree
Showing 38 changed files with 4,198 additions and 2,360 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/ibmq_tests.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/ibmq_tests_1.yml

This file was deleted.

17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Tests for 1.0
on:
push:
branches:
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/PennyLaneAI/pennylane.git
pip install -r requirements-ci-legacy.txt
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
pip freeze
Expand All @@ -39,12 +39,9 @@ jobs:
pip install git+https://github.com/PennyLaneAI/pennylane-qiskit.git@${{ github.ref }}
pip freeze
- name: Run tests
# Skip IBMQ and Runtime tests as they depend on IBMQ's availability and
# easily result in timeouts
- name: Run standard Qiskit plugin tests
# Run the standard tests with the most recent version of Qiskit
run: python -m pytest tests -k 'not test_ibmq.py and not test_runtime.py' --cov=pennylane_qiskit --cov-report=term-missing --cov-report=xml -p no:warnings --tb=native
env:
IBMQX_TOKEN: ${{ secrets.IBMQX_TOKEN_TEST }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down Expand Up @@ -72,19 +69,17 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/PennyLaneAI/pennylane.git
pip install -r requirements-ci-legacy.txt
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock pytest-benchmark flaky --upgrade
pip freeze
- name: Install Plugin
run: |
python setup.py bdist_wheel
pip install dist/PennyLane*.whl
pip freeze
- name: Run tests
run: |
pl-device-test --device=qiskit.basicaer --tb=short --skip-ops --shots=20000 --device-kwargs backend=qasm_simulator
pl-device-test --device=qiskit.basicsim --tb=short --skip-ops --shots=20000 --device-kwargs backend=basic_simulator
pl-device-test --device=qiskit.aer --tb=short --skip-ops --shots=20000 --device-kwargs backend=qasm_simulator
pl-device-test --device=qiskit.aer --tb=short --skip-ops --shots=None --device-kwargs backend=statevector_simulator
pl-device-test --device=qiskit.aer --tb=short --skip-ops --shots=None --device-kwargs backend=unitary_simulator
Expand Down
91 changes: 0 additions & 91 deletions .github/workflows/tests_qiskit_1.yml

This file was deleted.

38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,55 @@

### New features since last release

* Added support for converting Qiskit noise models to
PennyLane ``NoiseModels`` using ``load_noise_model``.
[(#577)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/577)
[(#578)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/578)

* Qiskit Sessions can now be used for the ``qiskit.remote`` device with the ``qiskit_session`` context
manager.
[(#551)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/551)

### Improvements 🛠

* Qiskit Runtime Primitives are supported by the ``qiskit.remote`` device. Circuits ran using the ``qiskit.remote``
device will automatically call the SamplerV2 and EstimatorV2 primitives appropriately. Additionally, runtime options can be passed as keyword arguments directly to the ``qiskit.remote`` device.
[(#513)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/513)

### Breaking changes 💔

* Support has been removed for Qiskit versions below 0.46. The minimum required version for Qiskit is now 1.0.
If you want to continue to use older versions of Qiskit with the plugin, please use version 0.36 of
the Pennylane-Qiskit plugin.
[(#536)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/536)

* The test suite no longer runs for Qiskit versions below 0.46.
[(#536)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/536)

* The ``qiskit.basicaer`` device has been removed because it is not supported for versions of Qiskit above 0.46.
[(#546)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/546)

* The IBM quantum devices, ``qiskit.ibmq``, ``qiskit.ibmq.circuit_runner`` and ``qiskit.ibmq.sampler``, have been removed due to deprecations of the IBMProvider and the cloud simulator "ibmq_qasm_simulator".
[(#550)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/550)

### Deprecations 👋

### Documentation 📝

* The Pennylane-Qiskit plugin page has been updated to reflect the changes in both the plugin's
capabilities and Qiskit.
[#563](https://github.com/PennyLaneAI/pennylane-qiskit/pull/563)

### Bug fixes 🐛

### Contributors ✍️

This release contains contributions from (in alphabetical order):

Utkarsh Azad
Lillian M. A. Frederiksen
Austin Huang

---
# Release 0.37.0

Expand All @@ -30,8 +65,9 @@ This release contains contributions from (in alphabetical order):
### Contributors ✍️

This release contains contributions from (in alphabetical order):

Utkarsh Azad
Lillian M. A. Frederiksen
Austin Huang
Mashhood Khan

---
Expand Down
20 changes: 5 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,11 @@ To test that the PennyLane-Qiskit plugin is working correctly you can run
in the source folder.

.. note::

Tests on the `IBMQ device <https://pennylaneqiskit.readthedocs.io/en/latest/devices/ibmq.html>`_ can
only be run if a ``ibmqx_token`` for the
`IBM Q experience <https://quantum-computing.ibm.com/>`_ is
configured in the `PennyLane configuration file
<https://pennylane.readthedocs.io/en/latest/introduction/configuration.html>`_, if the token is
exported in your environment under the name ``IBMQX_TOKEN``, or if you have previously saved your
account credentials using the
`new IBMProvider <https://qiskit.org/ecosystem/ibm-provider/stubs/qiskit_ibm_provider.IBMProvider.html>`_

If this is the case, running ``make test`` also executes tests on the ``ibmq`` device.
By default, tests on the ``ibmq`` device run with ``ibmq_qasm_simulator`` backend. At
the time of writing this means that the test are "free".
Please verify that this is also the case for your account.
.. warning::

When installing the Pennylane-Qiskit plugin, we recommend starting with a clean environment.
This is especially pertinent when upgrading from a pre-1.0 version of Qiskit, as described
in `Qiskit's migration guide <https://docs.quantum.ibm.com/api/migration-guides/qiskit-1.0-installation>`_.

.. installation-end-inclusion-marker-do-not-remove
Expand Down
Loading

0 comments on commit ebb439c

Please sign in to comment.