qci-enablement / qci-data

Ebooks tobe rendered as public webpages
0 stars 1 forks source link

MaxCut, Graph Partitioning, and Dirac-3 Quick Start Tutorial Updates #44

Closed uchukwu closed 6 months ago

uchukwu commented 6 months ago

Tutorial updates for maxcut, graph partitioning, and Dirac-3 quick start. Updates reflect code change in qci-client v4.0. Few changes that occur:

  1. Change of sampler_type to device_type and nsamples to num_samples in job_params of qci_client.build_job_body.
  2. Removal of the redundant job_type in qci_client.process_job.
  3. Simplification of response object; simply retrieve results of response dict via response['results']

NOTE: In Dirac-3 Quick Start tutorial, I wasn't able to replicate degeneracy in last example. I've made 3-5 attempts to do so to no avail. Let me know how we should proceed with this.

uchukwu commented 6 months ago

Added a python helper file and image file that's suppose to be generated in the graph partitioning notebook tutorial

uchukwu commented 6 months ago

@thisisaus ready for your follow-up review