Files
marqdo/examples/quantum-entanglement
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
..

quantum-entanglement

Bell |Φ⁺⟩ entanglement lab via ext/quantum Q7/Q8: density matrix, partial trace, Schmidt entropy, and SVG plots (circuit themed dark by default; hinton / qsphere / multibloch / city).

cargo build --release -p marqdo_plugin_quantum
marqdo ext add quantum   # once (re-run after rebuilding the plugin)
marqdo run examples/quantum-entanglement/index.mq.md
# optional: marqdo view examples/quantum-entanglement/

Prints probabilities, full/reduced purity, ⟨ZZ⟩, and Schmidt entropy; writes SVGs next to the program (sandbox cwd). Circuit/probs/bloch accept theme="dark"|"light"|"bw".

Design: ext-quantum-q7.md · ext-quantum-viz-style.md · sibling: quantum-bell.