If I try to run python compare.py --library hybridq-gpu --nqubits 27 on a NVIDIA Tesla V100, I get the following error:
Traceback (most recent call last):
File "compare.py", line 45, in <module>
library_benchmark(**args)
File ".../qibojit-benchmarks/benchmarks/scripts.py", line 118, in library_benchmark
result = backend(circuit)
File ".../qibojit-benchmarks/benchmarks/libraries/hybridq.py", line 130, in __call__
final_state = simulate(circuit, optimize="evolution-einsum",
File ".../hybridq/circuit/simulation/simulation.py", line 320, in simulate
return _simulate_evolution(circuit, initial_state, final_state,
File ".../hybridq/circuit/simulation/simulation.py", line 410, in _simulate_evolution
raise MemoryError(
MemoryError: Memory for the given number of qubits exceeds the 'max_largest_intermediate'.
while with 26 or less qubits it works fine. @stavros11 have you ever seen this error?
EDIT: The problem appears also on CPU
If I try to run
python compare.py --library hybridq-gpu --nqubits 27
on a NVIDIA Tesla V100, I get the following error:while with 26 or less qubits it works fine. @stavros11 have you ever seen this error? EDIT: The problem appears also on CPU