Skip to content

Releases: PennyLaneAI/pennylane-qiskit

Release 0.35.1

07 Mar 21:19
Compare
Choose a tag to compare

Release 0.35.1

Bug fixes 🐛

  • Following the 0.21 release of qiskit-ibm-runtime, which requires Qiskit 1.0, the PennyLane-Qiskit plugin pins to "qiskit-ibm-runtime<0.21". This prevents pip install pennylane-qiskit from installing Qiskit 1.0 (via the requirements of qiskit-ibm-runtime), which will break any environments that already have a 0.X.X version of Qiskit installed. (#486)

Contributors ✍️

Lillian Frederiksen

Release 0.35.0

04 Mar 21:14
b111814
Compare
Choose a tag to compare

Improvements 🛠

  • The UI for passing parameters to a qfunc generated when loading a Qiskit QuantumCircuit into PennyLane is updated to allow passing parameters as args or kwargs, rather than as a dictionary. The old dictionary UI continues to be supported. (#406) (#428)

  • Measurement operations are now added to the PennyLane template when a QuantumCircuit is converted using load. Additionally, one can override any existing terminal measurements by providing a list of PennyLane measurements <https://docs.pennylane.ai/en/stable/introduction/measurements.html>_ themselves. (#405) (#466) (#467)

  • Added the support for converting conditional operations based on mid-circuit measurements and two of the ControlFlowOp operations - IfElseOp and SwitchCaseOp when converting a QuantumCircuit using load. (#417) (#465)

  • Qiskit's classical Expr conditionals can also be used with the supported ControlFlowOp operations. (#432)

  • Added conversion support for more Qiskit gates to native PennyLane operations - Barrier, CYGate, CHGate, CPhase, CCZGate, ECRGate, and GlobalPhaseGate. (#449)

  • Added the ability to convert a Qiskit SparsePauliOp instance into a PennyLane Operator. (#401) (#453)

  • Added a pennylane.io entry point for converting Qiskit operators. (#453)

  • Unused parameters are now ignored when a QuantumCircuit is converted using load. (#454)

Bug fixes 🐛

  • QiskitDevice.batch_execute() now gracefully handles empty lists of circuits. (#459)

  • It is now possible to compute the gradient of a circuit with ParameterVector elements. (#458)

Contributors ✍️

This release contains contributions from (in alphabetical order):

Mikhail Andrenkov, Utkarsh Azad, Lillian Frederiksen.

Release 0.34.1

21 Feb 19:49
Compare
Choose a tag to compare

This bug fix release pins the version of Qiskit in setup.py to be lower than Qiskit 0.46.0. Upcoming releases of the plugin will be compatible with the new release of Qiskit, but the 0.34 release is not.

Release 0.34.0

08 Jan 21:04
b3eb72e
Compare
Choose a tag to compare

Bug fixes 🐛

  • The kwargs job_tags and session_id are passed to the correct arguments in the circuit_runner device so that they will be used in the Qiskit backend; these were previously ignored. (#358)

  • The generate_samples method for the IBMQSamplerDevice is updated to get counts from the nearest probability distribution rather than the quasi-distribution (which may contain negative probabilities and therefore raise errors). (#357)

  • The generate_samples method for the IBMQSamplerDevice now avoids raising an indexing error when some states are not populated, and labels states according to the Pennylane convention instead of Qiskit convention. (#357)

Contributors ✍️

This release contains contributions from (in alphabetical order):

Lillian Frederiksen, Francesco Scala

Release 0.33.1

22 Nov 18:37
87a4d06
Compare
Choose a tag to compare

Improvements 🛠

  • Stop using the now-deprecated tape.is_sampled property. (#348)

Bug fixes 🐛

  • Update conversion of PennyLane to Qiskit operators to accommodate the addition of Singleton classes in the newest version of Qiskit. (#347)

Contributors ✍️

This release contains contributions from (in alphabetical order):

Lillian Frederiksen, Matthew Silverman

Release 0.33.0

30 Oct 21:22
517db66
Compare
Choose a tag to compare

Improvements 🛠

  • Logic updated to support Aer V2 device naming conventions. (#343)

Breaking changes 💔

  • The old return type system has been removed. (#331)

Contributors ✍️

This release contains contributions from (in alphabetical order):

Mudit Pandey, Matthew Silverman

Release 0.32.0

28 Aug 19:02
4da9ab3
Compare
Choose a tag to compare

Improvements 🛠

  • Added support for qml.StatePrep as a state preparation operation. (#326)

Breaking changes 💔

  • Support for Python 3.8 has been removed. (#328)

Contributors ✍️

This release contains contributions from (in alphabetical order):

Mudit Pandey,
Jay Soni.

Release 0.31.0

26 Jun 19:41
577dc2f
Compare
Choose a tag to compare

New features since last release

  • Added a RemoteDevice (PennyLane device name: qiskit.remote) that accepts a backend instance directly. (#304)

Breaking changes

  • The vqe_runner has been removed, as the Qiskit Runtime VQE program has been retired.
    (#313)

Bug fixes

  • The list of supported gates is replaced with pennylane.ops._qubit__ops__ so that the CZ gate is included.
    (#305)

Contributors

This release contains contributions from (in alphabetical order):

Matthew Silverman, Frederik Wilde, Etienne Wodey (Alpine Quantum Technologies GmbH)

Release 0.30.1

05 May 14:10
dc4d9a8
Compare
Choose a tag to compare

Breaking changes

  • vqe_runner has been updated to use IBMQ's VQE program. The first argument, program_id, has
    now been removed. The upload_vqe_runner and delete_vqe_runner functions have also been removed.
    (#298)

Improvements

  • Updated many small things across the plugin to match re-works and deprecations in qiskit. The plugin
    can still be used in the same way as before. However, we suggest you authenticate with
    qiskit_ibm_provider.IBMProvider instead of qiskit.IBMQ from now on, as the latter is deprecated.
    (#301)

Contributors

This release contains contributions from (in alphabetical order):

Matthew Silverman

Release 0.30.0

01 May 18:59
0559941
Compare
Choose a tag to compare

Breaking changes

  • The new return system from PennyLane is adopted in the plugin as well.
    (#281)

Contributors

This release contains contributions from (in alphabetical order):

Romain Moyard.