Skip to content

Commit 495524a

Browse files
committed
Version 0.9.236
1 parent 2dd980c commit 495524a

5 files changed

+10
-6
lines changed

dist/quantum-circuit.js

+4-2
Large diffs are not rendered by default.

dist/quantum-circuit.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/quantum-circuit.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/quantum-circuit.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -10372,7 +10372,9 @@ QuantumCircuit.prototype.exportToCudaQ = function(options, exportAsGateName, cir
1037210372
cudaq += "# ";
1037310373
}
1037410374

10375-
cudaq += gate.options.creg.name + " = ";
10375+
if(circuit.gotClassicalControl()) {
10376+
cudaq += gate.options.creg.name + " = ";
10377+
}
1037610378
}
1037710379

1037810380
// Comment out unknown gates

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quantum-circuit",
3-
"version": "0.9.235",
3+
"version": "0.9.236",
44
"description": "Quantum Circuit Simulator",
55
"main": "lib/quantum-circuit.js",
66
"unpkg": "dist/quantum-circuit.min.js",

0 commit comments

Comments
 (0)