Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tag: tutorial

tutorial

Articles tagged tutorial (15).

← Back to all tags


Browse by tag: algorithm chemistry encoding error-correction finance integration machine-learning optimization oracle-based primitive resource-estimation sample-based simulation usage variational


Tutorials

Classical Control Flow Patterns

Loops, sparse data, conditional branching.

Coherent Control with qmc.control

qmc.control for built-in gates and sub-kernels, concrete vs symbolic control counts, error catalogue.

Compilation and Transpilation: Under the Hood

The 10-stage pipeline, IR walkthrough, engine emission.

Execution Models: sample() vs run()

sample() vs run(), observables, bit ordering.

From a Hermitian Matrix to a Quantum Circuit

From a dense Hermitian matrix to a Pauli sum and a time-evolution circuit.

Parameterized Quantum Kernels

Structure vs runtime parameters, bind/sweep pattern.

Resource Estimation

Symbolic cost analysis, gate breakdown, scaling.

Vector Slicing

VectorView, slice assignment, nested slices, and passing views to helper kernels.

Your First Quantum Kernel

Define, visualize, and execute a kernel; the affine rule.

Hands-on

Execution Workflow

Run a parameterized circuit and reuse it while a classical optimizer searches for its lowest energy.

QPE and Resource Estimation

Build quantum phase estimation (QPE) by hand, compare it with the built-in version, and count the resources it needs.

Quantum Optimization with Graph Coloring

Model a graph coloring problem, run QAOA, and compare the results with two classical solvers.

Quantum Teleportation

Prepare a Bell pair, use Alice’s measurement results to correct Bob’s qubit, and check that Bob recovers the input state.

Resource Estimation

Compare two ways to prepare a GHZ state, then estimate the cost of a circuit that calls an oracle.