For pennylane’s feature of mid circuit measurement,
Does this qml.measure() have supports for lightning_gpu device?
Hi @harry ,
lightning.gpu supports the dynamic one-shot method for mid-circuit measurements. So you can use qml.measure() as long as you set mcm_method="one-shot" in the QNode. You can learn more about it here in the docs.
lightning.gpu
qml.measure()
mcm_method="one-shot"
Let us know if you have any trouble using it.
I hope this helps!