Files
marqdo/tests/ext/quantum-viz-advanced-smoke.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

21 lines
562 B
Markdown

---
title: quantum viz advanced smoke
description: Q7b hinton / qsphere / multibloch SVG markers
import quantum:ext/quantum/quantum.mq.md
---
# main
**qc = > quantum.circuit qubits=2**
**qc = > `qc`.h qubit=0**
**qc = > `qc`.cx control=0 target=1**
**h = > `qc`.draw kind="hinton" path="quantum-viz-hinton.svg"**
**q = > `qc`.draw kind="qsphere" path="quantum-viz-qsphere.svg"**
**m = > `qc`.draw kind="multibloch" path="quantum-viz-multibloch.svg"**
**rho = > `qc`.density**
**c = > `rho`.draw kind="city" path="quantum-viz-city.svg"**
> print text=viz-ok