Cudaq CPU
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
from luna_quantum.solve.parameters.backends.cudaq.cudaq_cpu import CudaqCpu
backend = CudaqCpu(
target='qpp-cpu'
)