Skip to content

Refactor and circuit page indexing overhaul - #5

Merged
AnthonyW2 merged 24 commits into
mainfrom
anthony/refactor
Sep 13, 2026
Merged

Refactor and circuit page indexing overhaul#5
AnthonyW2 merged 24 commits into
mainfrom
anthony/refactor

Conversation

@AnthonyW2

Copy link
Copy Markdown
Collaborator
  • Fixed linting errors.
  • Reformatted files to follow new formatting guidelines.
  • Moved the markdown files for the circuit & gate pages,
  • Changed the way the circuit pages are listed in the side index (based on markdown files instead of JSON).

- Moved circuit & gate page data into directories named in line with docs and hardware.
- Changed the way the circuit pages are listed in the index to use the same page-based system as the docs & hardware pages, instead of being derived from the circuit definitions.
- Define the resolved file extensions.
- Tell Turbopack to treat .bib files as assets, to prevent build-time errors due to dynamic import resolution in the data/ directory.
- Simplified the markdown importing on the circuit, docs, and hardware pages.
- Wrapped markdown importing in a try/catch on the gate pages.
- Made the gate pages work similarly to the circuit pages, where the gate definition (unitary matrix) is loaded inside the mdx source file instead of being added to the top of each page.
- Changed heading levels.
- Fixed a couple of spelling errors.
- Fixed metadata.
- Fixed grammatical error.
- Merged control qubits into one register.
- Gate pages are now indexed and generated from the markdown files instead of the gate map, just like circuits, hardware, and docs.
- Swapped the order of gates and circuits in the side index.
- Removed redundant circuit/gate map loading from side index.
- Cache popover description loading.
- Add missing docstring.
- Notably: Updated Next JS to 16.3, and Typescript to 6.0.
@AnthonyW2
AnthonyW2 merged commit 74c4671 into main Sep 13, 2026
@AnthonyW2
AnthonyW2 deleted the anthony/refactor branch September 13, 2026 11:52
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