Skip to content

Remove TwinPhasedX and replace with individual PhasedX in rebases#1485

Merged
jake-arkinstall merged 3 commits intofeat/sol-gatesetfrom
ae/notwinphasedx
Apr 8, 2026
Merged

Remove TwinPhasedX and replace with individual PhasedX in rebases#1485
jake-arkinstall merged 3 commits intofeat/sol-gatesetfrom
ae/notwinphasedx

Conversation

@cqc-alec
Copy link
Copy Markdown
Collaborator

No description provided.

@cqc-alec cqc-alec requested a review from a team as a code owner March 31, 2026 09:34
@cqc-alec cqc-alec requested review from aborgna-q and removed request for a team and aborgna-q March 31, 2026 09:34
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.29%. Comparing base (cabe853) to head (c2968e8).
⚠️ Report is 1 commits behind head on feat/sol-gateset.

Files with missing lines Patch % Lines
tket-qsystem/src/extension/qsystem.rs 0.00% 20 Missing ⚠️
tket-qsystem/src/extension/qsystem/lower.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##           feat/sol-gateset    #1485      +/-   ##
====================================================
+ Coverage             83.26%   83.29%   +0.02%     
====================================================
  Files                   188      188              
  Lines                 29370    29347      -23     
  Branches              28259    28239      -20     
====================================================
- Hits                  24456    24445      -11     
+ Misses                 3760     3747      -13     
- Partials               1154     1155       +1     
Flag Coverage Δ
python 92.38% <ø> (-0.03%) ⬇️
qis-compiler 91.54% <ø> (ø)
rust 82.94% <0.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


let [a, c] = self.add_phased_xx(platform, a, c, pi_2, zero)?;
let [a, c] = self.add_twin_phased_x(platform, a, c, pi_2, pi_minus_2)?;
let a = self.add_phased_x(platform, a, pi_2, pi_minus_2)?;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave approval to Jake so he can review the other components, but I'll at least confirm that the replacement of add_twin_phased_x with add_phased_x looks right to me

@cqc-alec
Copy link
Copy Markdown
Collaborator Author

I think the snapshot test failures are independent of the main change here. (They were already failing.)

@jake-arkinstall
Copy link
Copy Markdown
Contributor

tket2 has moved on somewhat since my original sol rebase PR. I'll rebase that first, then I'll rebase this PR on the result.

Copy link
Copy Markdown
Contributor

@jake-arkinstall jake-arkinstall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after rebasing

@jake-arkinstall jake-arkinstall merged commit 048e7c4 into feat/sol-gateset Apr 8, 2026
19 of 20 checks passed
@jake-arkinstall jake-arkinstall deleted the ae/notwinphasedx branch April 8, 2026 14:12
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.

3 participants