Commit Graph

35 Commits

Author SHA1 Message Date
Frank Harkins 91500802ea Update code for runtime 0.24.1 (#1580)
This PR bumps the `qiskit_ibm_runtime` version to the most recent, and
updates our code examples to work with that version.

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-06-20 16:46:06 +00:00
Rebecca Dimock 52552f42dc add information about changing tutorial title (#1544)
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
2024-06-13 16:39:47 +00:00
abbycross 55618503a7 Tutorial housecleaning: VQE (#1379)
Related to #1286

---------

Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
2024-06-13 15:51:47 +00:00
Rebecca Dimock e02a3735b5 Tutorial housekeeping: Grovers (#1531) 2024-06-12 19:20:56 +00:00
Rebecca Dimock 207e0f4597 Tutorial housekeeping: Repeat until success (#1521)
related to #1286
2024-06-10 20:52:15 +00:00
Rebecca Dimock 221f22a872 Tutorial housekeeping: Build repetition codes (#1519)
Related to #1286
2024-06-10 20:51:42 +00:00
Rebecca Dimock 0381d720d8 Add QPU estimate to CHSH (#1518)
Part of #1286
2024-06-10 16:16:09 +00:00
abbycross 2616f10366 Update header titles in tutorials readme (#1506)
Minor fix for clarity: make headers parallel
2024-06-07 16:57:47 +00:00
Rebecca Dimock 40dc2fbf2b Remove mention of simulated results in CHSH tutorial (#1447)
First part of #1443 

Still need to figure out how to change the tags on the platform.  

- [ ] The CHSH tutorial is tagged "scheduling", but there is no
scheduling involved.
2024-05-29 14:39:52 +00:00
Frank Harkins 6d3044e725 Remove invalid link (#1445) (#1452)
Our CI can't run on forks so making a PR from within the repo.

Co-authored-by: Abdón Rodríguez <a@abdonrd.com>
2024-05-29 12:41:57 +00:00
Rebecca Dimock 0a6d2fe87b Update Build repetition codes tutorial (#1157)
Closes #1137 

FYI @RoyElkabetz
2024-05-28 19:51:50 +00:00
abbycross 36e911754a Stylistic updates to the Error mitigation w/ Estimator tutorial (#1378) 2024-05-16 19:37:20 +00:00
Rebecca Dimock f0d37ce50a remove callback section (#1393)
closes #1353
2024-05-16 16:46:38 +00:00
Frank Harkins 7831eac0d1 Refresh notebook outputs (#1391)
Uses the results of the most recent cron job to refresh notebook outputs
so they match user expectations.
2024-05-15 16:26:04 +00:00
Frank Harkins 6e3ed3372e Update URL (#1377) 2024-05-14 18:10:52 +00:00
Frank Harkins 903c4eed9e Update learning-api.conf.yaml (#1376) 2024-05-14 17:53:10 +00:00
Kevin J. Sung 9d87e26d5a Add tutorial for error mitigation with Qiskit Runtime Estimator (#1313)
Fixes #1168

---------

Co-authored-by: Abdullah Ash- Saki <44783187+ashsaki@users.noreply.github.com>
Co-authored-by: Pedro Rivero <pedro.rivero.ramirez@gmail.com>
Co-authored-by: Ritajit Majumdar <majumdar.ritajit@gmail.com>
Co-authored-by: haimeng-zhang <33587226+haimeng-zhang@users.noreply.github.com>
2024-05-14 17:27:49 +00:00
Rebecca Dimock 7d1970e610 Remove "warning suppression" code (#1307)
Closes #1279 
Closes #1331 

I removed the "ignore warning" code from all relevant tutorials (in
addition to VQE and CHSH) and ran them all locally on simulators to make
sure we aren't getting warnings. I also added Requirements sections to
VQE and CHSH.

Working on re-generating the output for CHSH since it currently runs on
a 27Q system, but I'm in the queue for 16 hrs.

---------

Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
2024-05-10 18:52:25 +00:00
Kevin J. Sung 7733c41e17 rename repitition -> repetition (#1261) 2024-04-30 21:55:54 +00:00
Eric Arellano 11652d3318 Rename tutorial notebooks to be unique (#1224)
We can name the notebook file what we want. So, we were using
`notebook.ipynb` to not repeat the tutorial name both in its parent
folder and the notebook file.

But repeating `notebook.ipynb` has been annoying. It makes it harder in
your IDE to know which file is which. It also makes the CI artifact
upload less useful because the artifact only has the file names without
the parent folder name.
2024-04-23 20:10:53 +00:00
Frank Harkins a99f2f88be Fix tutorial deployment process (#1222)
I thought I'd tested this in #1154 but I actually only tested the
uploader test workflow. I'd forgotten to pass the environment from the
input to the job.

Something which wasn't my fault is that some tutorial UUIDs seem to have
changed, I'm not sure why this is but am investigating.

With the new UUIDs, the workflow is working ([see
run](https://github.com/Qiskit/documentation/actions/runs/8798350887/job/24145159885)).
2024-04-23 16:26:57 +00:00
Eric Arellano 297470be02 Describe staging vs prod for tutorials deploys (#1220) 2024-04-22 20:13:42 +00:00
Rebecca Dimock c00db462d9 Update Repeat until success notebook (#1192)
closes #1138

copy over edits from learning repo made by @RoyElkabetz and myself:
***REMOVED***

---------

Co-authored-by: ABBY CROSS <across@us.ibm.com>
2024-04-22 18:21:23 +00:00
Frank Harkins f108c23c8d Warn about tutorial titles (#1185)
Today's meeting reminded me of this gotcha. Adding it to the readme to
save someone a headache in the future.
2024-04-16 16:15:11 +00:00
Frank Harkins dcd1fedef0 Add tutorial deployment process (#1154)
Adds a workflow to deploy tutorials from `main`, and documentation on
how to do it. This PR also switches to using environment secrets rather
than actions secrets, which should be more secure as we can limit who
can run them and which branches they can run on. See
https://github.com/Qiskit/documentation/actions/runs/8647825547/job/23710189504
for an example of the action using the staging environment.

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
2024-04-16 12:18:33 +00:00
Frank Harkins 0bcf81330b Add tutorials to notebook tests (#1155)
Adds the new tutorial notebooks to the same tests as the documentation
notebooks. Most tutorials run jobs on IBM Quantum so will only be tested
fortnightly in the cron job workflow.

Part of #1136
2024-04-11 13:07:00 +00:00
Frank Harkins 66aa265f7f Migrate runtime tutorials (#1149)
Adds the runtime tutorial notebooks as per #1135. I couldn't use the
same approach as #91 as the file history is broken in the runtime repo,
but since there were few enough files I used `git log --follow` to find
the original PR and all authors that touched the files.
2024-04-09 17:21:40 +01:00
Sanket Panda 97e694d791 Add explore-composer notebook
This file originally existed in an inner-source repository.
2024-04-09 17:06:00 +01:00
Sanket Panda a5cd406576 Add repeat-until-success notebook
This file originally existed in an inner-source repository.

Co-authored-by: Roy Elkabetz <elkabetzroy@gmail.com>
2024-04-09 17:06:00 +01:00
Sanket Panda 4090385c1f Add build-repitition-codes notebook
This file originally existed in an inner-source repository.

Co-authored-by: Roy Elkabetz <elkabetzroy@gmail.com>
2024-04-09 17:05:54 +01:00
Junye Huang 040a33f487 Add grovers-algorithm.ipynb
Originally created in Qiskit/qiskit-ibm-runtime#236

Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Co-authored-by: Jim Garrison <garrison@ibm.com>
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
Co-authored-by: Paul Nation <nonhermitian@gmail.com>
Co-authored-by: Rathish Cholarajan <rathish.c@ibm.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Sanket Panda <pandasa123@gmail.com>
Co-authored-by: beckykd <66339736+beckykd@users.noreply.github.com>
Co-authored-by: kevin-tian <kevin.tian@ibm.com>
2024-04-09 15:46:54 +01:00
Junye Huang 56fe19292f Add chsh-inequality.ipynb
Originally created in Qiskit/qiskit-ibm-runtime#416

Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
Co-authored-by: Paul Nation <nonhermitian@gmail.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Sanket Panda <pandasa123@gmail.com>
Co-authored-by: Tushar Mittal <37920727+tmittal947@users.noreply.github.com>
Co-authored-by: adcorcol <1413901+adcorcol@users.noreply.github.com>
2024-04-09 15:46:31 +01:00
Jessie Yu 63bd9af807 Add quantum-approximate-optimization-algorithm.ipynb
Originally created in Qiskit/qiskit-ibm-runtime#888

Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Hwajung Kang <hwajungkang@gmail.com>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Sanket Panda <pandasa123@gmail.com>
2024-04-09 15:45:58 +01:00
Owen Lockwood 36d50126d7 Add variational-quantum-eigensolver.ipynb
Originally created in Qiskit/qiskit-ibm-runtime#235

Co-authored-by: ElePT <epenatap@gmail.com>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Co-authored-by: Jim Garrison <garrison@ibm.com>
Co-authored-by: Junye Huang <h.jun.ye@gmail.com>
Co-authored-by: Kevin Tian <kt474@cornell.edu>
Co-authored-by: Paul Nation <nonhermitian@gmail.com>
Co-authored-by: Rathish Cholarajan <rathish.c@ibm.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Sanket Panda <pandasa123@gmail.com>
Co-authored-by: jspark971 <jspark971@gmail.com>
Co-authored-by: kevin-tian <kevin.tian@ibm.com>
Co-authored-by: lerongil <leron_1234@yahoo.com>
2024-04-09 15:45:20 +01:00
Frank Harkins 81158fe1ac Add submitting-transpiled-circuits.ipynb
Originally created in Qiskit/qiskit-ibm-runtime#231

Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Co-authored-by: Junye Huang <h.jun.ye@gmail.com>
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Sanket Panda <pandasa123@gmail.com>
2024-04-09 15:44:27 +01:00