Quantum Computing, Qiskit, Vqa, Quantum Algorithms.
value in zip(keys, values): prepulse = HE_pulse(backend, amp, angle, width) expect = vqe_one(prepulse, n_qubit, n_shot, pulse_backend, backend, key, value) expect_values.append(expect) print(“E for cur_iter: “,sum(expect_values)) return sum(expect_values) Here is a plot showing the convergence of