Hello everyone, I’m currently working on an example problem provided by NVIDIA CuQuantum in their GitHub Samples here. I’ve set up my environment using Python 3.10 on Ubuntu 22.04, running on a Tesla T4 NVIDIA GPU (AWS G4 Instance). I’ve created a virtual environment and installed all the required dependencies for the cuQuantum library.
Now, I’m facing an issue when executing the code. I’ve included the code snippet below, along with the error message that occurs during the execution:
import itertools
import cupy as cp
import numpy as np
import qiskit
from qiskit.circuit.random import random_circuit
from cuquantum import contract
from cuquantum import CircuitToEinsum
num_qubits = 7
depth = 6
circuit = random_circuit(num_qubits, depth, seed=3)
# circuit.draw(output='mpl')
myconverter = CircuitToEinsum(circuit, dtype='complex128', backend=cp)
I would greatly appreciate any assistance in resolving this error.