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 611cc2a commit f62d372Copy full SHA for f62d372
examples/clifford_qnn/mnist_clifford_qnn.py
@@ -60,6 +60,7 @@ def forward(self, x, use_qiskit=False):
60
self.q_device, self.encoder, self.q_layer, self.measure, x
61
)
62
else:
63
+ self.q_device = tq.QuantumDevice(n_wires=self.n_wires, bsz=bsz)
64
self.encoder(self.q_device, x)
65
self.q_layer(self.q_device)
66
x = self.measure(self.q_device)
0 commit comments