Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl generalize #400

Merged
merged 35 commits into from
Jun 16, 2021
Merged

Ctrl generalize #400

merged 35 commits into from
Jun 16, 2021

Conversation

XYShe
Copy link
Contributor

@XYShe XYShe commented Jun 14, 2021

Add support for off-control

XYShe and others added 24 commits June 14, 2021 21:17
This reverts commit 36743a1.
- Address inconsistency with qubit state ordering when using integers
  as input control state
- Add canonical_ctrl_state function to centralise functionality
- Fix some file encoding
- Fix tests
…utoreplacer. Added check for canonical ctrl state func.
Copy link
Collaborator

@Takishima Takishima left a comment

Choose a reason for hiding this comment

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

Looks good to me; we anyway have been discussing this outside of GitHub for a while now. There are just a couple of CI errors that need investigating before merging but do not seem to be related to this PR anyway.

@coveralls
Copy link

coveralls commented Jun 15, 2021

Pull Request Test Coverage Report for Build 942731416

  • 126 of 126 (100.0%) changed or added relevant lines in 12 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.009%) to 99.125%

Totals Coverage Status
Change from base Build 936319582: 0.009%
Covered Lines: 6913
Relevant Lines: 6974

💛 - Coveralls

 Monkeypatching or patching of external may unload the patch before
 the MainEngine calls the last flush operations which would then call
 the original API although unwanted.
@Takishima Takishima merged commit aa3afaf into ProjectQ-Framework:develop Jun 16, 2021
@Takishima Takishima deleted the ctrl_generalize branch June 16, 2021 12:29
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.

None yet

3 participants