Skip to content

Polish the kickmix API boundary - #1975

Merged
Strilanc merged 3 commits into
quantumlib:mainfrom
Strilanc:examplesfinish
Oct 15, 2026
Merged

Strilanc merged 3 commits into
quantumlib:mainfrom
Strilanc:examplesfinish

Conversation

@Strilanc

Copy link
Copy Markdown
Contributor
  • Fix the remaining missing examples in docstrings
  • Delete {start,end}_auto_free_scope
  • Fix some missing ensure_big_enough_state_for calls that were causing simulator writes to fail

- Fix the remaining missing examples in docstrings
- Delete {start,end}_auto_free_scope
- Fix some missing ensure_big_enough_state_for calls that were causing simulator writes to fail
@Strilanc
Strilanc requested a review from tanujkhattar October 15, 2026 02:36

@tanujkhattar tanujkhattar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % comments.

Also a few more undocumented methods if you want to fix them:

  • circuit_builder.pybind.cc: alloc_bits, x, z, neg, neg_if, push_condition, pop_condition, cx, swap, debug_print, reset, hmr, multi_controlled_x (and note num_free_qubits has the copy-pasted docstring from max_qubits).

  • interactive_simulator.pybind.cc: use_same_registers_as, read_across_shots, read_within_shot, write_within_shot.

Comment thread kickmix/src/kickmix/py/circuit/circuit_builder.pybind.cc
Comment thread docs/kickmix/api_reference.md Outdated
Comment thread docs/kickmix/api_reference.md Outdated
@Strilanc
Strilanc enabled auto-merge October 15, 2026 04:21
@Strilanc
Strilanc added this pull request to the merge queue Oct 15, 2026
Merged via the queue into quantumlib:main with commit 9cf4ae8 Oct 15, 2026
28 checks passed
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.

2 participants