Skip to content

qiskit-aer-gpu is not working #130

Open
@vijaysunny

Description

@vijaysunny

#code
from qiskit import *
from qiskit.circuit.library import *
from qiskit_aer import *

sim = AerSimulator(method='statevector', device='GPU')

qubits = 5
depth=2
shots = 5

circuit = QuantumVolume(qubits, depth, seed=0)
circuit.measure_all()
result = execute(circuit,sim,shots=shots,seed_simulator=123).result()

print("{0} qubits Quantum Volume, Simulation Time = {1} sec".format(qubits,result.to_dict()['results'][0]['time_taken']))
counts = result.get_counts()
print(counts)
#output
RuntimeError: Simulation device "GPU" is not supported on this system
i have installed required packages and also i have nstalled cuda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions