You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Lab 4, Calculate the ground state of H3+ section
# Define evaluate_expectation functiondefevaluate_expectation(x):
x=list(x)
# Define estimator run parameters#### enter your code below ####job=# ----------- Enter your code hereresults=job.values[0]
job_list.append(job)
# Pass results back to callback functionreturnnp.real(results)
results = job.values[0] should be results = job.result().values[0]
The text was updated successfully, but these errors were encountered:
In Lab 4, Calculate the ground state of H3+ section
results = job.values[0]
should beresults = job.result().values[0]
The text was updated successfully, but these errors were encountered: