Releases: PennyLaneAI/pennylane-qiskit
Release 0.35.1
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 preventspip install pennylane-qiskit
from installing Qiskit 1.0 (via the requirements ofqiskit-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
Improvements 🛠
-
The UI for passing parameters to a
qfunc
generated when loading a QiskitQuantumCircuit
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 usingload
. Additionally, one can override any existing terminal measurements by providing a list of PennyLanemeasurements <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
andSwitchCaseOp
when converting aQuantumCircuit
usingload
. (#417) (#465) -
Qiskit's classical
Expr
conditionals can also be used with the supportedControlFlowOp
operations. (#432) -
Added conversion support for more Qiskit gates to native PennyLane operations -
Barrier
,CYGate
,CHGate
,CPhase
,CCZGate
,ECRGate
, andGlobalPhaseGate
. (#449) -
Added the ability to convert a Qiskit
SparsePauliOp
instance into a PennyLaneOperator
. (#401) (#453) -
Added a
pennylane.io
entry point for converting Qiskit operators. (#453) -
Unused parameters are now ignored when a
QuantumCircuit
is converted usingload
. (#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
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
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.