0
$\begingroup$

When I tried to execute the below program, The attribute error hits me every time, which is;

name 'combine_result' is not defined

What is the problem here? Did I miss a module?

cal_job = execute(cal_circuits, backend = real_device, shots= 1024, optimization_level = 0)) print(cal_job.job_id()) job_monitor(cal_job) cal_results = cal_job.result().combine_results()

I'm not familiar with stack :)

$\endgroup$
1
$\begingroup$

The combine_results() method is only available if you are using Job Manager. Without Job Manager you can simply do cal_results = cal_job.result().

Job Manager divides your circuits into multiple jobs and collect the their results. You can then use combine_results() to combine results from all jobs into a single Result object. Here's a tutorial on using Job Manager (search for Job Manager) if you are interested.

$\endgroup$
1
  • $\begingroup$ thank you! I am going to search it $\endgroup$ Jan 15 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.