Skip to main content
5 of 5
added 19 characters in body
poig
  • 652
  • 4
  • 12

For the number of iterations, you can do

for i,j in enumerate(result_delta._estimate_intervals):
    print(i,np.mean(j))

For the circuit result, you can try to do result.circuit_results, it might return a Statevector or counts dictionary.
and algorithm.construct_circuit(problem) to check the problem circuit.

#recommend way to view the problem gate
from qiskit import transpile
transpile(ae_delta.construct_circuit(problem),basis_gates = ['ry', 'cx','ccx','x']).draw()

For any more related coding questions, you can just do something like dir(result) to see its attribute, then check sources code or docs about these attributes for the explanation.

hope it is something you are looking for

poig
  • 652
  • 4
  • 12