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

Deprecate decompose_gates #243

Merged
merged 20 commits into from
Jun 14, 2023
Merged

Deprecate decompose_gates #243

merged 20 commits into from
Jun 14, 2023

Conversation

caleb-johnson
Copy link
Collaborator

Resolves #239

This PR deprecates decompose_gates in favor of cut_gates. This change is solely to remove ambiguity between Qiskit's notion of "decompose" and ours.

@coveralls
Copy link

coveralls commented Jun 4, 2023

Pull Request Test Coverage Report for Build 5256646377

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 89.638%

Totals Coverage Status
Change from base Build 5245336342: 0.008%
Covered Lines: 2327
Relevant Lines: 2596

💛 - Coveralls

garrison and others added 4 commits June 12, 2023 14:42
- skip tests that require pyscf if it is not available
- add Windows workflow to Actions matrix
- add Windows to README platform badge
This seems to address the root cause of #248.
However, I'm not sure why this is necessary, since
[the reno documentation](https://docs.openstack.org/reno/latest/user/usage.html#configuring-reno)
states "If unset, all versions will be scanned."
package_name="circuit-knitting-toolbox",
removal_timeline="no earlier than v0.4.0",
additional_msg=(
"Instead, use ``circuit_knitting.cutting.cut_gates`` "
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@garrison do we need back quotes here? Is this strictly a stdio printout, or is this used by sphinx?

Copy link
Member

Choose a reason for hiding this comment

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

I only included double backquotes because that's what terra did in the opflow deprecation message. If it weren't for that, I probably would have used single backquotes, but nothing is required.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I actually thought I wrote this out of habit, but thank you for your honesty hah :)

Copy link
Member

@garrison garrison left a comment

Choose a reason for hiding this comment

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

Great - thank you.

@caleb-johnson caleb-johnson merged commit 5837667 into main Jun 14, 2023
@caleb-johnson caleb-johnson deleted the deprecate-decompose-gates branch June 14, 2023 19:43
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.

Rename decompose_gates to cut_gates
3 participants