Skip to content

Commit 191934d

Browse files
[fix] revive paramnum
1 parent b4e6b67 commit 191934d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchquantum/functional/gate_wrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ def gate_wrapper(
330330
method,
331331
q_device: QuantumDevice,
332332
wires,
333+
paramnum=0,
333334
params=None,
334335
n_wires=None,
335336
static=False,

0 commit comments

Comments
 (0)