Frequently Asked Questions

I do not have an NVIDIA GPU on my system. Which version should I install ?

You should use the CPU version. Installation Procedure for CPU only Mode

I have an entry-level GPU, but my circuits are usually small with fewer qubits and gate operations. Which version should I install ?

You should use the CPU version. Installation Procedure for CPU only Mode

I have an entry-level GPU with 4GB of memory. My circuits are complex. Which engine should I use?

You should install the GPU version. You may benefit from selecting the hybrid engine “serin_quantum_engine” when you acquire the backend.

Why is the GPU version slower than the CPU version on my system?

It takes a while to set up the GPU kernels. If you are using a quantum circuit with fewer gates or implementing simple circuits like 2-local circuits, or GHZ states, you can use the CPU version.

The GPU-enabled SDK throws errors when imported in Python. What is the solution?

Please see Installation Procedure for GPU Enabled Mode. You have to set the path to the CUDA Toolkit. If you are using Windows, you have to set the path to the CUDA Toolkit in Python.

Which is the preferred way of storing the account name and account key?

You can provide the account name and the access token explicitly as arguments to the QuantumRingsProvider function, store them as environment variables and fetch them from the environment at runtime, or save them in the local configuration file using the save_accounts API.

How do I change the precision?

You can select the precision – single or double – when acquiring the backend or while issuing the run command. The default is “single” precision unless it is changed.