Skip to content

Digital learning route

Learn to prepare a state, reuse a parameterized circuit, compose subcircuits and read observables. Each lesson includes a prediction, an executable script, interpreted output and exercises. Use the installation guide and run commands from the repository root.

Stage Lesson Command
Beginner Bell circuit and sampling python3 examples/user/tracks/digital_developer/01_beginner_bell_circuit_en.py
Parameters Reuse a rotation python3 examples/user/tracks/digital_developer/02_foundation_parameter_binding_en.py
Composition Subcircuits and inverses python3 examples/user/tracks/digital_developer/03_applied_circuit_composition_en.py
Observables One state, several questions python3 examples/user/tracks/digital_developer/04_advanced_observable_batch_en.py
Expert practice Record what ran python3 examples/user/tracks/digital_developer/05_expert_execution_evidence_en.py

The bound circuit is a separate object; binding leaves the symbolic declaration reusable. Circuit composition then lets you verify a rotation followed by its inverse. Build these unitary transformations before adding terminal measurement.

The observable lesson distinguishes exact state calculations from finite-shot counts. The execution-record lesson checks the local trace that this Digital path currently returns, including its state transition and terminal sampling. It does not claim a captured state after every gate or measured hardware timings.

For another physical model, continue with Digital-Analog-Digital execution. For a comparison study, use the MIS project. Consult the Digital guide for more operations and observable batches for estimator details.

These lessons run on a local CPU. Mid-circuit measurement, reset, classical conditions, feedback, general controlled synthesis and a complete OpenQASM grammar are outside this Circuit workflow.

中文版 | All learning tracks

SDK 1.0.8a · `8b227bff`