Files
marqdo/examples/quantum-skill-call/index.mq.md

1010 B

markup, title, description, import
markup title description import
occlusion Quantum skill call demo Agent-style flow via ext/quantum index and domain modules (Bell probabilities).
circuit simulate
ext/quantum/circuit/index.mq.md ext/quantum/simulate/index.mq.md

main

返回 类型 说明
result any None; execute this page's documented steps in order and observe their output or stated effects

Build Phi-plus with domain skills, then print ideal probabilities. Prefer the same steps via marqdo call with --effects plugin and toget when an agent drives the session.

We first qc = [Compute qc](circuit.new(qubits=2, steps=None)) for the next step. We first qc = [Compute qc](circuit.hadamard(circuit=qc, qubit=0)) for the next step. We first qc = [Compute qc](circuit.cnot(circuit=qc, control=0, target=1)) for the next step. We first p = Compute p for the next step. We now [Display this step's result](> print text=p).