docs: add docstrings for Op.free_symbols, Op.get_unitary, Op.is_gate - #2252
Open
coruspus-999 wants to merge 1 commit into
Open
coruspus-999 wants to merge 1 commit into
coruspus-999 wants to merge 1 commit into
Conversation
Fixes Quantinuum#1380 Add missing docstrings for Op.free_symbols, Op.get_unitary, and Op.is_gate methods in pytket.circuit.Op as requested in issue Quantinuum#1380. Signed-off-by: Coruspus-999 <vempa457914@gmail.com>
cqc-alec
reviewed
Oct 2, 2026
cqc-alec
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the PR. You seem to have introduced a lot of spurious special characters in places that are outside the scope of the PR. Please can you revert those changes?
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1380
Add missing docstrings for Op.free_symbols, Op.get_unitary, and Op.is_gate methods in pytket.circuit.Op.
The added docstrings explain:
Developed with AI assistance; reviewed and tested by me.