Files
final-qibotn/tests/test_qasm_quimb_backend.py
2023-02-09 18:35:57 +08:00

12 lines
243 B
Python

import os
import pytest
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
def test_eval(nqubits: int):
os.environ["QUIMB_NUM_PROCS"] = str(os.cpu_count())
from qibotn import qasm_quimb
result = qasm_quimb.eval_QI_qft(nqubits)