Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update hybrid job tutorial to use base container instead of byoc #127

Merged
merged 6 commits into from
Nov 28, 2023

Conversation

guomanmin
Copy link
Collaborator

Summary

Details and comments

@guomanmin guomanmin force-pushed the qiskit_hybrid_job branch 4 times, most recently from aee3eee to ed3fa7f Compare October 21, 2023 02:24
Copy link
Collaborator

@christianbmadsen christianbmadsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR and step to simplify and improve this example!

Title and introduction:

We should assume a person seing this is familiar with Qiskit and unfamiliar with Braket. The introduction needs to take that context into account. A good title may be something like "Running variational workloads with qiskit on a mix of AWS ec2 instances and available quantum devices". The intro similarly should be expanded. Maybe something like

"Amazon Braket Hybrid Jobs offers a way for you to run hybrid quantum-classical algorithms that require both classical resources and quantum processing units (QPUs). Hybrid Jobs is designed to spin up the requested classical compute, run your algorithm, and release the instances after completion so you only pay for what you use. This workflow is ideal for long-running iterative algorithms involving both classical and quantum resources. In this notebook we show you how to run such a job via the qiskit-braket provider."

Preparatory steps:

We need to explain what a job script is for. Something around the fact that the ec2 instance will be runnning classical code which is packaged as a "job script". You also need to explain what is happening in the job script, not just have the code ("we are seting up a VQE script similar to and this script will run the optimization on AWS ec2 and run the quantum circuits on the AWS on-demand simulator SV1 ")

Running your job:

Change "The Braket-managed base container have qiskit-braket-provider preinstalled and ready to use for running your variational algorithms" to "Amazon Braket provides a container for Hyrbid Jobs that has the qiskit-braket container and associated dependencies installed."

Add a sentence of what the results show/mean. A plot would be even better.

@christianbmadsen christianbmadsen merged commit 3c4255f into qiskit-community:main Nov 28, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants