I'm running VQE algorithm on ibmq-qasm-simulator
.
I'm trying to implement a restart mechanism in order to be able to start a new computation from the result of a previous one.
To do so I've tried to set VQE' s initial_point
parameter to result['optimal_point']
, where result is the return value of vqe.run(quinstance)
of the previous computation.
The code has worked for a very small graph (4 nodes, 4 edges), anyway it continues to fail for little bigger graphs (5 and 6 nodes). It doesn't converge to a minimum energy state but continues to oscillate.
Is this the correct way to implement a restart?
Thanks