# CUDA-Q Logical by Example All twelve numbered Python programs under `preview/logical/examples/` run in the test suite. The top-level sequence uses ordinary CUDA-Q kernels and target stacks; the standalone sequence exposes each CUDA-Q Logical compiler stage directly. ## CUDA-Q kernel examples ```{toctree} :maxdepth: 1 logical-resource-estimate clifford-t cudaq-resource-estimate fermi-hubbard carbon-code gidney-ekera ``` ## Standalone compiler examples ```{toctree} :maxdepth: 1 p0-bell p1-placement code-and-gadget distillation physical-schedule lookup-addition ```