We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c836ebe commit 94c8288Copy full SHA for 94c8288
library/std/src/Std/Diagnostics.qs
@@ -90,7 +90,7 @@ function DumpRegister(register : Qubit[]) : Unit {
90
/// the matrix displayed may reflect any global phase that has accumulated from operations
91
/// on those other qubits.
92
@SimulatableIntrinsic()
93
-operation DumpOperation(nQubits : Int, op : Qubit[] => Unit is Adj) : Unit {
+operation DumpOperation(nQubits : Int, op : Qubit[] => Unit) : Unit {
94
use (targets, extra) = (Qubit[nQubits], Qubit[nQubits]);
95
for i in 0..nQubits - 1 {
96
H(targets[i]);
0 commit comments