Temporary solution to qiboteam/qibojit#107 in tests
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
import pytest
|
import os
|
||||||
|
|
||||||
from qibotn import qasm_quimb
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
|
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
|
||||||
def test_eval(nqubits: int):
|
def test_eval(nqubits: int):
|
||||||
|
os.environ["QUIMB_NUM_PROCS"] = str(os.cpu_count())
|
||||||
|
from qibotn import qasm_quimb
|
||||||
|
|
||||||
print(f"Testing for {nqubits} nqubits")
|
print(f"Testing for {nqubits} nqubits")
|
||||||
result = qasm_quimb.eval_QI_qft(nqubits)
|
result = qasm_quimb.eval_QI_qft(nqubits)
|
||||||
|
|||||||
Reference in New Issue
Block a user