Skip to content

Refactor analysis - #119

Merged
yhteoh merged 48 commits into
v1.0from
refactor_analysis
Oct 15, 2026
Merged

yhteoh merged 48 commits into
v1.0from
refactor_analysis

Conversation

@vishnu-m77

Copy link
Copy Markdown
Collaborator
  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Refactor: Modify analog analysis for updated dataflow analysis in oqd-compiler-infrastructure.
    Features Implemented:

    • Updated type checker analysis
    • Bounds checker analysis
    • Available Variable Analysis
    • Reaching Definition Analysis
    • Dominator Analysis
    • CFG flags for converting CFG into AST
    • CFG to AST Converter
  • What is the current behavior? (You can also link to an open issue here)
    Analog analysis implementation is sub-optimal and incomplete.

  • What is the new behavior (if this is a feature change)?
    Clean implementation of analog analysis. Additional analysis as listed above.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    Yes. Analysis is run by calling the analyze method, which takes the CFG as a parameter.

  • Other information:
    N/A

yhteoh and others added 30 commits June 9, 2026 13:02
… analog type checker to assume definite assignment analysis. Add test cases for analog definite assignment analysis.
…and test_analysis_analog for bounds checker.
…matching of modes, qubits and hamitlonian to a different analysis
…ttom, rename SUPPORTED_FUNC_SIGNATURES in analog to ANALOG_SUPPORTED_FUNC_SIGNATURES
…oming from lattice instead of DataflowAnalysis base class
…at has the false branch of the while loop in its postdominance
@vishnu-m77
vishnu-m77 requested a review from yhteoh October 6, 2026 22:45
@yhteoh yhteoh mentioned this pull request Oct 15, 2026
1 of 3 tasks
@yhteoh
yhteoh merged commit 9ca02ba into v1.0 Oct 15, 2026
2 of 12 checks passed
@yhteoh
yhteoh deleted the refactor_analysis branch October 15, 2026 14:07
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