Skip to content

Conversation

@jlapeyre
Copy link
Collaborator

@jlapeyre jlapeyre commented Nov 3, 2025

  • The diophantine solver uses static caches. For reproducibility and other reasons we need to be able to clear these caches.

  • In any case, code, including tests that use static caches can't be run concurrently without incorrect results. We need to run some of these tests serially.

The commit adds clear_caches, and introduces a dependency on serial_test. These are both tested in the test suite.

Closes #21, #15, #7

* The diophantine solver uses static caches. For reproducibility and other
  reasons we need to be able to clear these caches.

* In any case, code, including tests that use static caches can't be run
  concurrently without incorrect results. We need to run some of these tests serially.

The commit adds `clear_caches`, and introduces a dependency on `serial_test`.
These are both tested in the test suite.
@jlapeyre jlapeyre force-pushed the gjl-allow-clear-cache branch from 88e91c2 to dfe5f78 Compare November 3, 2025 03:21
@jlapeyre jlapeyre merged commit dea7464 into qiskit-community:main Nov 3, 2025
3 checks passed
This was referenced Nov 3, 2025
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.

Support clearing caches in diophantine solver

1 participant