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

Getting Started with Amazon Braket Hybrid Jobs #940

Merged
merged 40 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
15bb51f
wip: first demo
mbeach-aws Sep 26, 2023
352dd1c
add rst in intro
mbeach-aws Sep 26, 2023
3aa4afb
fix warning box
mbeach-aws Sep 26, 2023
2277d87
changing file name
KetpuntoG Sep 26, 2023
41df1f5
Update demos_getting-started.rst
KetpuntoG Sep 26, 2023
faec9a4
Update getting_started_with_hybrid_jobs.metadata.json
KetpuntoG Sep 26, 2023
5eab51f
update code block, restore braket folder, new qpu results
mbeach-aws Sep 26, 2023
6ef05b2
fix names
mbeach-aws Sep 26, 2023
a531cf8
Apply suggestions from code review
mbeach-aws Sep 27, 2023
485f815
Update demonstrations/getting_started_with_hybrid_jobs.py
mbeach-aws Sep 27, 2023
ef82b4d
add log metrics links
mbeach-aws Sep 27, 2023
19d108d
explain priority
mbeach-aws Sep 27, 2023
c8f7a87
update imports
mbeach-aws Sep 27, 2023
82e3cd3
rm learning outcomes
mbeach-aws Sep 27, 2023
081213f
Update demonstrations/getting_started_with_hybrid_jobs.metadata.json
mbeach-aws Sep 27, 2023
0b0ee9c
Update demonstrations/getting_started_with_hybrid_jobs.metadata.json
KetpuntoG Sep 27, 2023
8d4f8e1
Apply suggestions from code review
mbeach-aws Sep 28, 2023
85ffea9
fix schema
mbeach-aws Sep 29, 2023
7cde09c
Update demonstrations/getting_started_with_hybrid_jobs.py
josh146 Oct 1, 2023
074d921
Update demonstrations/getting_started_with_hybrid_jobs.py
josh146 Oct 1, 2023
f63a6d4
Apply suggestions from code review
mbeach-aws Oct 2, 2023
29551f3
Apply suggestions from code review
mbeach-aws Oct 3, 2023
fadd7aa
Adding thumbnail
KetpuntoG Oct 3, 2023
17d6d07
removing duplicate "outs"
KetpuntoG Oct 3, 2023
bdce975
Update getting_started_with_hybrid_jobs.py
KetpuntoG Oct 4, 2023
9174314
Merge branch 'master' into braket-hybrid-jobs-decorator
KetpuntoG Oct 4, 2023
35fabda
hq image
KetpuntoG Oct 4, 2023
0ea6301
Merge branch 'master' into braket-hybrid-jobs-decorator
mbeach-aws Oct 6, 2023
2a4faf3
Merge branch 'master' into braket-hybrid-jobs-decorator
mbeach-aws Oct 13, 2023
0fbcae8
add authors, fix code
mbeach-aws Oct 13, 2023
d8c1d5f
Merge branch 'braket-hybrid-jobs-decorator' of ssh://github.com/mbeac…
mbeach-aws Oct 13, 2023
02d77a5
add github link
mbeach-aws Oct 13, 2023
5e0d4d6
fix: code typo
mbeach-aws Oct 13, 2023
63816b5
fix: more code typos
mbeach-aws Oct 13, 2023
0258dd8
fix: job -> jobs typo
mbeach-aws Oct 13, 2023
708911c
fix: cell output
mbeach-aws Oct 13, 2023
ae65b85
reexplain priority
mbeach-aws Oct 16, 2023
c46b882
formatting
mbeach-aws Oct 16, 2023
e041ee8
Update getting_started_with_hybrid_jobs.py
KetpuntoG Oct 16, 2023
8a4618e
fixing links
KetpuntoG Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added _static/authors/matthew_beach.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _static/authors/matthew_beach.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. bio:: Matt Beach
:photo: ../_static/authors/matthew_beach.png

Matthew Beach is an Applied Scientist at Amazon Braket. His research focuses on the intersection of machine learning and quantum physics with an emphasis on using computational methods to study many-body systems.
34 changes: 34 additions & 0 deletions demonstrations/getting_started_with_hybrid_jobs.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"title": "Getting started with the Amazon Braket Hybrid Jobs",
"authors": [
{
"id": "matthew_beach"
mbeach-aws marked this conversation as resolved.
Show resolved Hide resolved
}
],
"dateOfPublication": "2023-10-10T00:00:00+00:00",
"dateOfLastModification": "2023-10-10T00:00:00+00:00",
"categories": [
"Devices and Performance"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_images/thumbnail_hybrid_jobs.png"
}
],
"seoDescription": "Getting started with the Amazon Braket Hybrid Jobs",
"doi": "",
"canonicalURL": "/qml/demos/getting_started_with_hybrid_jobs",
"references": [],
"basedOnPapers": [],
"referencedByPapers": [],
"relatedContent": [],
"hardware": [
{
"id": "aws",
"link": "https://github.com/PennyLaneAI/qml/pull/940",
Copy link
Member

Choose a reason for hiding this comment

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

a reminder to update this to the correct amazon-braket github link when ready :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

That could work! or you could also link directly to the equivalent notebook in your repo (which might be preferable)

"logo": "/_static/hardware_logos/aws.png"
}
]
}
397 changes: 397 additions & 0 deletions demonstrations/getting_started_with_hybrid_jobs.py

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions demos_getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ Here you can discover the basic tools needed to use PennyLane through simple dem
:description: :doc:`demos/circuits_as_fourier_series`
:tags: fourier

.. gallery-item::
:tooltip: Run variational algorithms on QPUs with Amazon Braket and PennyLane
:figure: demonstrations/getting_started_with_hybrid_jobs/thumbnail_hybrid_jobs.png
:description: :doc:`demos/getting_started_with_hybrid_jobs`
:tags: braket


:html:`</div></div><div style='clear:both'>`

Expand All @@ -141,3 +147,4 @@ Here you can discover the basic tools needed to use PennyLane through simple dem
demos/tutorial_qft_arithmetics
demos/tutorial_phase_kickback
demos/ibm_pennylane
demos/getting_started_with_hybrid_jobs