Releases: PennyLaneAI/pennylane-qiskit
Release 0.34.0
Bug fixes 🐛
-
The kwargs
job_tags
andsession_id
are passed to the correct arguments in thecircuit_runner
device so that they will be used in the Qiskit backend; these were previously ignored. (#358) -
The
generate_samples
method for theIBMQSamplerDevice
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 theIBMQSamplerDevice
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
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
Release 0.32.0
Release 0.31.0
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 theCZ
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
Breaking changes
vqe_runner
has been updated to use IBMQ's VQE program. The first argument,program_id
, has
now been removed. Theupload_vqe_runner
anddelete_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 ofqiskit.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
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.
Release 0.29.0
Breaking changes
-
.inv
is replaced byqml.adjoint
in PennyLane0.30.0
and therefore the plugin is adapted as well.
(#260) -
The minimum required version of PennyLane is bumped to
0.28
. The current plugin
does not work with PennyLane v0.27.
Bug fixes
- The number of executions of the device is now correct.
(#259)
Contributors
This release contains contributions from (in alphabetical order):
Christina Lee
Romain Moyard
Release 0.28.0
Breaking changes
-
Changed the signature of the
QubitDevice.statistics
method fromdef statistics(self, observables, shot_range=None, bin_size=None, circuit=None):
to
def statistics(self, circuit: QuantumScript, shot_range=None, bin_size=None):
Improvements
- Adds testing for Python 3.11. (#237)
Bug fixes
- Do not try to connect with an IBMQX token if it is falsy. (#234)
Contributors
This release contains contributions from (in alphabetical order):
Christina Lee, Albert Mitjans-Coma and Matthew Silverman