All repositoriesRGTI / Quantum compilation
Circuit Foundry.
Optimize adjacent self-inverse gates, then compare complete complex state vectors before and after rewriting. Every rewrite is visible.
INSIDE THE REPOSITORY
A complete place to start.
- H, X, Z and CX cancellation
- Rewrite audit trail
- Complex state equivalence check
- Exact token contract and pair inspection
- Bounded ERC-20 transfer activity explorer
- Local community funding scenario planner
- Evidence export with SHA-256 verification
- Nine automated checks and GitHub CI
- MIT license, method, architecture and API docs
Run locally
npm test npm start
Open localhost:3000. The technology runs with no API key. Live chain and DNS reads use public providers.
Deploy in your account
Extract the archive and upload its contents to a GitHub repository you control. Import that repository into Vercel, or run npx vercel --prod in the extracted folder. The included configuration sets the output directory and tests.
Return to the Deploy studio to publish your project, token pair and repository on the public build board.
29 SOURCE FILES / V1.0.0
Inspect everything.
.env.example.github/workflows/check.yml.gitignoreLICENSEREADME.mdSECURITY.mdapi/activity.mjsapi/dns.mjsapi/health.mjsapi/token.mjsdev.mjsdocs/API.mddocs/ARCHITECTURE.mddocs/METHOD.mdexamples/inputs.jsonpackage.jsonpublic/app.mjspublic/config.mjspublic/core/engine.mjspublic/core/math.mjspublic/favicon.svgpublic/index.htmlpublic/styles.cssserver/api.mjsserver/handler.mjstests/api.test.mjstests/engine.test.mjstools/verify-evidence.mjsvercel.jsonThis download contains only this standalone project. It includes no account credentials.
METHOD
What it calculates.
Adjacent identical H, X, Z or CX gates cancel because each is self-inverse. S phase gates are preserved. A stack exposes further cancellations.
LIMITS
What the evidence means.
A two-qubit educational optimizer, not a hardware compiler. Equivalence is checked for the initial |00⟩ state; rewrite identities themselves hold for all states.
The funding planner does not transfer tokens or route rewards. Deploying this repository does not imply company endorsement or investment value.
Inputs you control.
| Input | Type | Units |
|---|---|---|
| Circuit | Editable data | — |
