Hi,
Does Pennylane support constructing PQC in the style of Pytorch dynamic computation graphs?
For example,
we first define we are going to have a circuit with 1 wire/qubit, and in the pytorch forward() call,
gates are dynamically added to the wire with a for loop, sth like:
pseudcode:
pqc = PQC(n_wires=1)
def forward():
for i in range(n):
pqc.add(rx, wire=[0])
Thanks.