Release 2.7.0: executable handbooks and native user-site workflows
This commit is contained in:
1 parent
aa0c4d0f55
commit
d9aef957f7
562 files changed
+21064
-20387
No files matched your search
@@ -10,12 +10,16 @@ import:
|
||||
|
||||
# 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.
|
||||
|
||||
**qc = > circuit.new qubits=2 steps=None**
|
||||
**qc = > circuit.hadamard circuit=`qc` qubit=0**
|
||||
**qc = > circuit.cnot circuit=`qc` control=0 target=1**
|
||||
**p = > simulate.probabilities circuit=`qc`**
|
||||
> print text=`p`
|
||||
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](simulate.probabilities(circuit=`qc`))** for the next step.
|
||||
We now **[Display this step's result](> print text=`p`)**.
|
||||
Reference in new issue
Block a user