tutorial¶
Articles tagged tutorial (15).
Browse by tag: algorithm chemistry encoding error-correction finance integration machine-learning optimization oracle-based primitive resource-estimation sample-based simulation usage variational
Tutorials¶
Loops, sparse data, conditional branching.
qmc.control for built-in gates and sub-kernels, concrete vs symbolic control counts, error catalogue.
The 10-stage pipeline, IR walkthrough, engine emission.
sample() vs run(), observables, bit ordering.
From a dense Hermitian matrix to a Pauli sum and a time-evolution circuit.
Structure vs runtime parameters, bind/sweep pattern.
Symbolic cost analysis, gate breakdown, scaling.
Helper kernels, composite gates, stubs.
VectorView, slice assignment, nested slices, and passing views to helper kernels.
Define, visualize, and execute a kernel; the affine rule.
Hands-on¶
Run a parameterized circuit and reuse it while a classical optimizer searches for its lowest energy.
Build quantum phase estimation (QPE) by hand, compare it with the built-in version, and count the resources it needs.
Model a graph coloring problem, run QAOA, and compare the results with two classical solvers.
Prepare a Bell pair, use Alice’s measurement results to correct Bob’s qubit, and check that Bob recovers the input state.
Compare two ways to prepare a GHZ state, then estimate the cost of a circuit that calls an oracle.