tensorflow / quantum

Hybrid Quantum-Classical Machine Learning in TensorFlow
https://www.tensorflow.org/quantum
Apache License 2.0
1.77k stars 558 forks source link

[PR4/? from #774] Add python layer for cuquantum grad + sim ops #788

Open QuantumJaeYoo opened 1 year ago

QuantumJaeYoo commented 1 year ago

This PR adds python layers of cuQuantum-accelerated differentiators, simulation layers.

For this purpose, this PR adds use_cuquantum for each python keras layers.

Also, circuit_execution_ops.is_gpu_configured() function gives us if the TFQ is built for cuQuantum GPU or not as a boolean value in python.