Skip to content

Add ad-hoc edge-case tests to CI#808

Merged
TysonRayJones merged 11 commits into
develfrom
ad-hoc-tests
Jun 30, 2026
Merged

Add ad-hoc edge-case tests to CI#808
TysonRayJones merged 11 commits into
develfrom
ad-hoc-tests

Conversation

@TysonRayJones

Copy link
Copy Markdown
Member

No description provided.

@TysonRayJones

Copy link
Copy Markdown
Member Author

Welp, the 12-qubit statevector unit tests are way too slow to run, even when setting all environment variables to their least intensive. I believe this is because the number of values of numCtrls and numTargs is still very large - though we are really only interested in the settings where numCtrls = numTargs = 6 (and perhaps also where one is <=5 (activating an optimisation) and the other is 6 (no optimisation). We may have to target this specific regime in bespoke TEST_CASE, if possible without duplicating all the operator unit test harness. Bah!

@TysonRayJones

Copy link
Copy Markdown
Member Author

I've been brainfarting; given the reference state 12-qubit density matrix is intractable (becoming a 24-qubit 256 MiB statevector), so too is the 12-qubit reference operator being attemptedly prepared for multiplication upon the 12-qubit statevector. Regardless of the ctrls + targs permutations, getFullStateOperator() hangs on a 12-qubit state.

@TysonRayJones TysonRayJones merged commit 187e936 into devel Jun 30, 2026
7 of 318 checks passed
@TysonRayJones TysonRayJones deleted the ad-hoc-tests branch June 30, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant