Skip to content

Conversation

@masa10-f
Copy link
Collaborator

Before submitting, please check the following:

  • Make sure you have tests for the new code and that test passes (run pytest)
  • If applicable, add a line to the [unreleased] part of CHANGELOG.md, following keep-a-changelog.
  • Format added code by ruff
  • Type checking by mypy and pyright
  • Make sure the checks (github actions) pass.
  • Check that the docs compile without errors (run make html in ./docs/ - you may need to install dependency for sphinx docs, see docs/requirements.txt.)

Then, please fill in below:

Context (if applicable):

For compiling a circuit, the scheduler can be a bottleneck of the process. I found that we can do the optimal schedule (minimizing space/time) during the circuit transpilation.

Description of the change:

I have implemented a new circuit transpiler that gives not only graph and gflow, but also a schedule based on the given strategy.

Also, I have optimized the GraphState class to maximize the compilation speed.

@masa10-f masa10-f self-assigned this Nov 17, 2025
@masa10-f masa10-f added the enhancement New feature or request label Nov 17, 2025
masa10-f and others added 2 commits January 3, 2026 21:01
Update test fixtures and test functions to provide parity_check_group
when testing _pauli_axis_cache and _collect_dependent_chain, which are
only initialized when parity_check_group is provided (FTQC optimization).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.32%. Comparing base (030014e) to head (573a242).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
+ Coverage   76.11%   76.32%   +0.21%     
==========================================
  Files          21       21              
  Lines        2215     2239      +24     
  Branches      380      383       +3     
==========================================
+ Hits         1686     1709      +23     
  Misses        456      456              
- Partials       73       74       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

masa10-f and others added 3 commits January 4, 2026 11:45
- Merge scheduling logic into circuit2graph, now returns (GraphState, gflow, Scheduler)
- Remove circuit2graph_with_preschedule (unreleased)
- Add 9 new tests for scheduling functionality
- Update existing tests and examples for new return type

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@masa10-f
Copy link
Collaborator Author

masa10-f commented Jan 8, 2026

memo: I have to implement a minimize space pre-schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants