Issue
batching.py:303 — _compute_core_hash uses Python's hash() which is salted with a random seed in Python 3.3+ by default. The same circuit produces different hashes across interpreter sessions, breaking persistent caching and reproducibility.
Fix
Use a deterministic hash like hashlib.md5 or hashlib.sha256 of the tuple representation.
Issue
batching.py:303—_compute_core_hashuses Python'shash()which is salted with a random seed in Python 3.3+ by default. The same circuit produces different hashes across interpreter sessions, breaking persistent caching and reproducibility.Fix
Use a deterministic hash like
hashlib.md5orhashlib.sha256of the tuple representation.