I have a batch of parameters and non-commuting observables, how do I run them in parallel?
dev = qml.device("lightning.gpu", wires=nq, batch_obs=True)
@qml.qnode(dev, interface='torch', diff_method='adjoint')
def circuit(inputs, obs):
qml.layer(layer_2U, n_layer, inputs)
return qml.expval(obs)