Add Fault-Tolerance Engine end-to-end tutorial - #1730
Open
ronClassiq wants to merge 2 commits into
Open
Conversation
CLS-6939. An advanced tutorial that runs a circuit through the full FT engine pipeline: get a logical noise model (public public/depolarize_1e-3 by default, with initialize_logical_noise shown behind a toggle), model a QPE in Qmod, synthesize, export to Clifford+T, route onto the surface-code lattice, view the routed program, and summarize resources/fidelity/runtime plus total logical error across code distances. Adds tests/notebooks/test_fault_tolerance_engine_end_to_end.py and a metadata file.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
🔥 New notebook just dropped! @amir-naveh , @TomerGoldfriend — come check out this shiny new addition to our repo. |
| @@ -0,0 +1,378 @@ | |||
| { | |||
Member
There was a problem hiding this comment.
You can remove this line.
It will be nice to add the notebook with the cell outputs, for example, to see the output of logical_noise.plot_clifford(start=5, end=25) and all the other plots.
Reply via ReviewNB
Member
Author
There was a problem hiding this comment.
Don't you see the outputs? Should it be pushed after running so the cells are visible?
TomerGoldfriend
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
An advanced tutorial (
tutorials/technology_demonstrations/fault_tolerance_engine_end_to_end/) that runs a circuit through the full Classiq Fault-Tolerance Engine pipeline, end to end:public/depolarize_1e-3by default;initialize_logical_noisefrom aPhysicalNoiseModelis shown behind anINITIALIZE_OWN_NOISEtoggle (off by default, since it's a ~1h backend simulation).synthesize.exportto a Clifford+T circuit.route_circuitonto the 3-D surface-code lattice.view_program(show=True)— interactive 3-D viewer inline.(d+1)**2, total logical error / fidelity across code distances).Includes
tests/notebooks/test_fault_tolerance_engine_end_to_end.pyand the metadata file.Notes
classiq1.28.0).route_circuitcall can take a few minutes (worker cold start); the notebook notes this.Resolves part of CLS-6939.