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.

Tutorials

Step-by-step guides to learn Qamomile.

Browse by tag

In this section: encoding primitive resource-estimation simulation tutorial

In other sections: algorithm chemistry error-correction integration machine-learning optimization sample-based usage variational

1. Your First Quantum Kernel

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

2. Parameterized Kernels

Structure vs runtime parameters, bind/sweep pattern.

3. Vector Slicing

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

4. Controlled Gates

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

5. Resource Estimation

Symbolic cost analysis, gate breakdown, scaling.

6. Execution Models

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

7. Classical Flow Patterns

Loops, sparse data, conditional branching.

8. Reuse Patterns

Helper kernels, composite gates, stubs.

9. Hermitian Matrix Decomposition

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

10. Compilation and Transpilation

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

Ready for concrete algorithms? Head over to Algorithms — browse by tag to jump to QAOA, Hamiltonian simulation, and more.