Skip to content

docs: port cannonical QPE example to use Guppy modifiers#1939

Draft
CalMacCQ wants to merge 5 commits into
mainfrom
cm/qpe_example_with_modifiers
Draft

docs: port cannonical QPE example to use Guppy modifiers#1939
CalMacCQ wants to merge 5 commits into
mainfrom
cm/qpe_example_with_modifiers

Conversation

@CalMacCQ

@CalMacCQ CalMacCQ commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

WIP still needs a couple things....

1. Modifier resolution isn't done in QSystemPass yet. Hence I hit a runtime error when using Selene (now modifiers are resolved)
2. I should also define the standard QFT and dagger it to show the dagger modifiers.

closes Quantinuum/guppy-docs#122

@CalMacCQ CalMacCQ requested a review from a team as a code owner June 25, 2026 15:58
@CalMacCQ CalMacCQ requested a review from mark-koch June 25, 2026 15:58
@CalMacCQ CalMacCQ marked this pull request as draft June 25, 2026 15:58
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchcm/qpe_example_with_modifiers
TestbedLinux
Click to view all benchmark results
Benchmarkhugr_bytesBenchmark Result
bytes x 1e3
(Result Δ%)
Upper Boundary
bytes x 1e3
(Limit %)
hugr_nodesBenchmark Result
nodes
(Result Δ%)
Upper Boundary
nodes
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
120.67 x 1e3
(0.00%)Baseline: 120.67 x 1e3
121.87 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
5,659.00
(0.00%)Baseline: 5,659.00
5,715.59
(99.01%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
36.19 x 1e3
(0.00%)Baseline: 36.19 x 1e3
36.55 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
1,582.00
(0.00%)Baseline: 1,582.00
1,597.82
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_benchmark_compile📈 view plot
🚷 view threshold
9.95 x 1e3
(0.00%)Baseline: 9.95 x 1e3
10.05 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
347.00
(0.00%)Baseline: 347.00
350.47
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_pop_benchmark_compile📈 view plot
🚷 view threshold
14.11 x 1e3
(0.00%)Baseline: 14.11 x 1e3
14.25 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
470.00
(0.00%)Baseline: 470.00
474.70
(99.01%)
🐰 View full continuous benchmarking report in Bencher

@codspeed-hq

codspeed-hq Bot commented Jun 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 11 untouched benchmarks


Comparing cm/qpe_example_with_modifiers (f73743e) with main (f711512)

Open in CodSpeed

@CalMacCQ CalMacCQ changed the title docs: port cannonical QPE example to use modifiers docs: port cannonical QPE example to use Guppy modifiers Jun 25, 2026
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.

Port cannonical quantum phase estimation example to use Guppy modifiers

1 participant