How to use Qiskit Aer simulators instead of cusvaer? #126
-
According to https://docs.nvidia.com/cuda/cuquantum/latest/appliance/qiskit.html, an option from qiskit import Aer, QuantumCircuit, transpile
circuit = ...
simulator = Aer.get_backend('aer_simulator_statevector', cusvaer_enable=False)
simulator.set_options(**options)
circuit = transpile(circuit, simulator)
job = simulator.run(circuit)
result = job.result()
print(f'backend: {result.backend_name}') I was using the container from #36 (comment) with cuQuantum Appliance 23.03 on Perlmutter. I wondered if this was because Qiskit only supports a single node, but I got |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @xumingkuan, Could you please try passing the |
Beta Was this translation helpful? Give feedback.
Hi @xumingkuan,
Could you please try passing the
cusvaer_enable
option atsimulator.set_options()
? It will disable the cusvaer backend and invoke Aer backends instead.