Skip to content

feat: add jeff verifier tool#62

Closed
huhaha120 wants to merge 1 commit into
unitaryfoundation:mainfrom
huhaha120:codex/jeff-verifier-tool
Closed

feat: add jeff verifier tool#62
huhaha120 wants to merge 1 commit into
unitaryfoundation:mainfrom
huhaha120:codex/jeff-verifier-tool

Conversation

@huhaha120
Copy link
Copy Markdown

Summary

  • Add a Python verifier under tools/verifier/ with a CLI entry point.
  • Validate module structure, value table references, use-before-definition, nested region isolation, instruction input/output signatures, integer bitwidth / float precision consistency, and qubit / qureg linearity.
  • Add focused positive and negative tests for the requested verifier checks, plus README usage notes.

Closes #57

Tests

  • uv run ruff format --check
  • uv run ruff check
  • uv run pytest -q
  • uv run python -m tools.verifier examples/*/*.jeff

AI Assistance Disclosure

This contribution was AI-assisted. I reviewed the verifier behavior against the issue requirements, checked the CLI and examples manually, and verified the implementation locally with the tests listed above.

@denialhaag denialhaag self-requested a review June 3, 2026 08:22
@denialhaag
Copy link
Copy Markdown
Collaborator

Thanks for your interest in contributing to jeff in the context of unitaryHACK. Unfortunately, we will have to reject this contribution due to several violations of the unitaryHACK rules. We are happy to review and accept a rules-compliant contribution.

@denialhaag denialhaag closed this Jun 3, 2026
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 verification tool

2 participants