I'm wondering if Cirq does (or plans to) support GPU acceleration of matrix operations, including density matrix simulations. I would like to speed up training and evaluations of variational circuits under different noise conditions when GPUs are available.
1 Answer
$\begingroup$
$\endgroup$
2
Cirq's mainline doesn't have this but you can use cirq-qulacs; which has a Variational Quantum Circuit Simulator and supports CUDA for high performance simulation.
-
$\begingroup$ This is probably the solution in the near term. It would be nice to know if there are plans to eventually support this in the mainline development. $\endgroup$ Commented Dec 12, 2020 at 0:23
-
$\begingroup$ We currently don't have GPU support on the road map. If you'd like this in the mainline, please file a feature request. If cirq-qulacs doesn't meet your needs, please mention that in the feature request. $\endgroup$ Commented Dec 12, 2020 at 3:37