Release Notes¶
Upcoming release (stable/0.2
)¶
Bug Fixes¶
This adds a workaround for an issue sometimes encountered when calling
TwoQubitWeylDecomposition
insidegenerate_ansatz_from_circuit()
. Sometimes an error is thrown despite the input matrix being unitary to numerical precision, and returningis_unitary()`()
asTrue
. This is an ongoing issue in qiskit, see https://github.com/Qiskit/qiskit/issues/4159 for more details.With this workaround, any time the error is encountered, it will retry by transpiling the two-qubit circuit (from which the matrix is derived) prior to passing the matrix to
TwoQubitWeylDecomposition
. It should be noted that this is does not fix the root issue, and is not guaranteed to always work, but has been observed to work for some instances.
0.2.0¶
Prelude¶
This release renames the primary objective to
MaximizeStateFidelity
and adds support for Qiskit 2.0.
New Features¶
Adds the
parametrize_circuit()
function for generating a parametrized version of a given circuit. In contrast togenerate_ansatz_from_circuit()
,parametrize_circuit
does not change the types of gates in the circuit. It simply replaces numerical parameters with free parameters.
Support for Python 3.13.
Upgrade Notes¶
The
OneMinusFidelity
objective function has been renamed and is now known asMaximizeStateFidelity
. As a related change, one should now call theloss_function()
method to obtain the value and gradient of the loss function, instead of calling the instance directly (through its__call__
method).
Qiskit SDK version 1.3 or higher is now required. Qiskit SDK version 2.0 is now supported.
Bug Fixes¶
This release fixes the import of
quimb_gate()
to work on versions of qiskit-quimb greater than 0.0.5. The aforementioned function is now imported from the toplevelqiskit_quimb
instead ofqiskit_quimb.circuit
.
0.1.1¶
New Features¶
This release adds quimb-autograd as an optional dependency, so that one can now run
pip install 'qiskit-addon-aqc-tensor[quimb-autograd]'
to install the addon along with quimb and autograd.
0.1.0¶
Prelude¶
Initial release.