Circuit code mirror
Where public repositories specify concrete quantum circuits, we mirror them here so the sha2.fail documentation stays self-contained and resistant to link rot.
Attribution notice. Each subdirectory contains a
ATTRIBUTION.md file naming the original repository, authors and license.
If a repository had no explicit license, it is reproduced here for reference only; please respect the original authors’ rights.
Qiskit
- Qiskit DIY Toffoli simulator — Fernando Virdia’s Qiskit port of the Q# ToffoliSimulator, with AES S-box tests.
- Quantum Attacks on Bitcoin — example Qiskit/Cirq snippets related to Bitcoin mining and signatures.
Q#
- Microsoft Research Grover-blocks — Q# AES and LowMC Grover oracles (MIT license).
Missing full SHA-256 circuits?
The academic SHA-256 papers (Amy et al. 2016, Kim et al. 2018, Lee et al. 2023) do not appear to have published accompanying source code. If you find a public implementation, please open an issue or PR on the main repository.