[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-08-27 03:08:35 +00:00
parent 58721ca974
commit b654e81776
2 changed files with 6 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ def build_observable_dict(nqubits):
return {"terms": terms}
@pytest.mark.gpu
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
def test_eval(nqubits: int, dtype="complex128"):
@@ -81,6 +82,7 @@ def test_eval(nqubits: int, dtype="complex128"):
result_sv_cp, result_tn.statevector.flatten()
), "Resulting dense vectors do not match"
@pytest.mark.gpu
@pytest.mark.parametrize("nqubits", [2, 5, 10])
def test_mps(nqubits: int, dtype="complex128"):