Changelog¶
v1.2 (October 9, 2019)¶
Improvements and changes¶
Variable names in
qaoa.cost_function.py
have been updated to better reflect their counterparts inqaoa.parameters.py
.Sped up cost function calls and construction for
PrepareAndMeasureOnWFSim
andQAOACostFunOnWFSim
. For very small systems and hamiltoniansWavefunctionSimulator().expectation()
is still faster, than our implementation.Added an example of using QAOA to solve a simple QUBO problem.
Sped up tests by removing all
with local_qvm()
context managers. You have to manually start a qvm in the background for the tests now!Added
sample_qaoa_bistrings
toutilities.py
Bugfixes¶
Can access
FourierExtendedParams.z_rotation_angles
now for hamiltonians without bias terms.