Quantinuum / Quantinuum/tket2

[pg-libs] Improve conditional and blackbox handling in `pg-greedy-synth`

Open
#2,002 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
60
Forks
24
Avg merge
1d 8h
Merged PRs (30d)
46

Description

  • Remove the constraint that blackboxes and conditional boxes must occupy standalone sets, so they can share sets with other operations.
  • Count operations inside conditionals towards the slice’s operation count to make the lookahead window more accurate.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the pg-greedy-synth implementation and its existing tests, then trace how sets, blackboxes, conditionals, and the slice operation count are handled. Done means blackboxes and conditional boxes can share sets with other operations, and operations inside conditionals contribute to the lookahead window count.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.