Release 0.14.1
Bug fixes
-
Fixes a bug where inverse operations could not be differentiated using backpropagation on
default.qubit
. (#1072) -
The QNode has a new keyword argument,
max_expansion
, that determines the maximum number of times the internal circuit should be expanded when executed on a device. In addition, the default number of max expansions has been increased from 2 to 10, allowing devices that require more than two operator decompositions to be supported. (#1074) -
Fixes a bug where
Hamiltonian
objects created with non-list arguments raised an error for arithmetic operations. (#1082) -
Fixes a bug where
Hamiltonian
objects with no coefficients or operations would return a faulty result when used withExpvalCost
. (#1082) -
Fixes a testing bug where tests that required JAX would fail if JAX was not installed. The tests will now instead be skipped if JAX cannot be imported. (#1066)
Documentation
- Updates mentions of
generate_hamiltonian
tomolecular_hamiltonian
in the docstrings of theExpvalCost
andHamiltonian
classes. (#1077)
Contributors
This release contains contributions from (in alphabetical order):
Thomas Bromley, Josh Izaac, Antal Száva.