-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
area/gpuInvolves CUDA, GPUs, and similarInvolves CUDA, GPUs, and similarpriority/p1High priorityHigh priority
Milestone
Description
Branched from #495. @Gopal-Dahale wrote:
New problem that I faced when using qsimcirq as backend in
tfq.ControlledPQC.circuit # some cirq circuit observable # some observable gpu_options = qsimcirq.QSimOptions(use_gpu=True, gpu_mode=1) qsim_simulator = qsimcirq.QSimSimulator(qsim_options=gpu_options) computation_layer = tfq.layers.ControlledPQC(circuit, observable,backend = qsim_simulator)ValueError: cuStateVec GPU execution requested, but not supported. If your device has GPU support and the NVIDIA cuStateVec library is installed, you may need to compile qsim locally.I have put the cuquantum files in
/usr/local/cuquantumand in.bashrchave added these linesexport CUQUANTUM_ROOT=/usr/local/cuquantum export LD_LIBRARY_PATH=${CUQUANTUM_ROOT}/lib:${LD_LIBRARY_PATH} export CUQUANTUM_DIR=/usr/local/cuquantumfollowed by
source ~/.bashrc. Ran the test program given on docs site (statevec_example) which gave the resultexample PASSED.Any solution for this would be helpful.
mstechly
Metadata
Metadata
Assignees
Labels
area/gpuInvolves CUDA, GPUs, and similarInvolves CUDA, GPUs, and similarpriority/p1High priorityHigh priority
Type
Projects
Status
No status