Skip to content

Add pure-Python result post-processing helpers#62

Open
modelsbridgeaicom-ship-it wants to merge 1 commit into
ionq:mainfrom
modelsbridgeaicom-ship-it:codex/ionq-results-helpers
Open

Add pure-Python result post-processing helpers#62
modelsbridgeaicom-ship-it wants to merge 1 commit into
ionq:mainfrom
modelsbridgeaicom-ship-it:codex/ionq-results-helpers

Conversation

@modelsbridgeaicom-ship-it
Copy link
Copy Markdown

Fixes #57

Summary:

  • add pure-Python result helpers for counts, bitstring relabeling, marginals, and Z-parity expectation values
  • document the little-endian qubit convention used by the helpers
  • re-export the helpers from the package root and update the package-init template
  • add Bell-state, rounding, validation, and re-export tests with 100% branch coverage

AI disclosure:

  • This PR was prepared with AI assistance. The validation commands below were run locally before submission.

Validation:

  • PYTHONUTF8=1 uv run pytest
  • uv run ruff check
  • uv run ruff format --check
  • uv run ty check ionq_core/

@modelsbridgeaicom-ship-it modelsbridgeaicom-ship-it requested a review from a team as a code owner June 5, 2026 23:34
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.

Add pure-Python results post-processing helpers (counts, bitstrings, marginals, expectation values)

1 participant