Improvements and changes¶
Variable names in
qaoa.cost_function.pyhave been updated to better reflect their counterparts in
Sped up cost function calls and construction for
QAOACostFunOnWFSim. For very small systems and hamiltonians
WavefunctionSimulator().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!
FourierExtendedParams.z_rotation_anglesnow for hamiltonians without bias terms.