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

Adaptive quantum computing notebook samples #1614

Merged
merged 8 commits into from
Jun 6, 2024
Merged

Conversation

cesarzc
Copy link
Contributor

@cesarzc cesarzc commented Jun 6, 2024

This change introduces two notebook samples that demonstrate adaptive quantum programs:

  • Iterative phase estimation.
  • Repeat until success.

Copy link

github-actions bot commented Jun 6, 2024

Benchmark for 8f330a9

Click to view benchmark
Test Base PR %
Array append evaluation 337.3±2.93µs 333.4±5.88µs -1.16%
Array literal evaluation 171.0±0.92µs 170.8±1.49µs -0.12%
Array update evaluation 414.8±0.88µs 410.3±1.96µs -1.08%
Core + Standard library compilation 20.1±0.46ms 20.7±0.82ms +2.99%
Deutsch-Jozsa evaluation 5.0±0.06ms 5.0±0.05ms 0.00%
Large file parity evaluation 34.3±1.00ms 34.2±0.32ms -0.29%
Large input file compilation 13.2±0.34ms 13.3±0.49ms +0.76%
Large input file compilation (interpreter) 49.6±0.99ms 50.7±1.32ms +2.22%
Large nested iteration 33.3±0.09ms 33.0±0.21ms -0.90%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1613.1±112.60µs 1608.7±112.92µs -0.27%
Perform Runtime Capabilities Analysis (RCA) on large file sample 7.9±0.09ms 8.0±0.12ms +1.27%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1451.2±117.30µs 1475.0±175.34µs +1.64%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 28.8±0.23ms 29.2±0.26ms +1.39%
Teleport evaluation 87.7±3.59µs 88.4±3.88µs +0.80%

@swernli
Copy link
Collaborator

swernli commented Jun 6, 2024

Thanks for getting these updated! I'll review the text soon. There's one detail about the integration tests: they automatically execute notebooks in the folder unless they are on a list of notebooks to skip. Since these includes submission to the service they aren't expected to run e2e in CI and can be added to that skip list. See line 453-457 in build.py.

cesarzc and others added 4 commits June 5, 2024 20:41
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
Copy link

github-actions bot commented Jun 6, 2024

Benchmark for f91ffbe

Click to view benchmark
Test Base PR %
Array append evaluation 331.5±2.03µs 340.8±1.20µs +2.81%
Array literal evaluation 170.8±1.17µs 185.6±15.08µs +8.67%
Array update evaluation 409.7±2.98µs 422.8±2.03µs +3.20%
Core + Standard library compilation 20.3±0.50ms 21.4±0.85ms +5.42%
Deutsch-Jozsa evaluation 5.0±0.04ms 5.1±0.03ms +2.00%
Large file parity evaluation 34.1±0.08ms 34.3±0.33ms +0.59%
Large input file compilation 13.7±0.44ms 13.3±0.33ms -2.92%
Large input file compilation (interpreter) 50.8±1.39ms 51.4±1.37ms +1.18%
Large nested iteration 32.8±2.03ms 33.9±0.57ms +3.35%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1605.2±133.16µs 1604.5±140.55µs -0.04%
Perform Runtime Capabilities Analysis (RCA) on large file sample 8.0±0.10ms 8.0±0.17ms 0.00%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1454.2±80.67µs 1459.0±144.21µs +0.33%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 28.8±0.91ms 28.9±0.32ms +0.35%
Teleport evaluation 87.2±3.80µs 87.8±4.06µs +0.69%

@cesarzc cesarzc added this pull request to the merge queue Jun 6, 2024
Merged via the queue into main with commit c085de5 Jun 6, 2024
16 checks passed
@cesarzc cesarzc deleted the cesarzc/ipe-notebook branch June 6, 2024 05:39
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.

None yet

2 participants