CudaqCpu Backend¶
The CudaqCpu backend class allows you to access the CUDA-Q CPU-based simulators. CUDA-Q is NVIDIA's open-source programming platform designed for hybrid quantum-classical computing. It allows integration of quantum processors (QPUs) alongside classical CPUs and GPUs, enabling them to work together to solve complex computational problems. CudaqCpu supports selecting specific simulation backends such as a state vector simulator or a density matrix simulator. For more information, please refer to the CUDA-Q docs.
Selecting a Simulator
Two general purpose CPU simulators are available. Either chose target="qpp-cpu" for state vector simulation or target="density-matrix-cpu" for density matrix simulation.
Running on Luna Servers
This simulated backend runs on Luna servers.
Initialization¶
Initialize the CudaqCpu backend with:
API-Reference¶
CudaqCpu ¶
Bases: BaseCudaqBackend
CUDA-Q CPU Simulator.
Use a NVIDIA CUDA-Q CPU simulator for circuit execution on Aqarios servers.
You have the choice between the statevector simulator "qpp-cpu" and the density matrix based simulator "density-matrix-cpu".
For more information on the simulators pelase refer to the CUDA-Q documentation.