forked from quantumlib/Cirq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the readability of CliffordTableau _full_str_ function (quant…
…umlib#7047) * Improve the readability of Tableau str. * Apply comments. * Fix coverage * Nit - rename internal functions to start with underscore * Fix matching of np.bool values by converting them to stock bool Avoid possibility of unmatched values, because bool can return only the `True` or `False` singletons. * Rewrite string formatting with f-string We can appease pylint without line exception. --------- Co-authored-by: Pavol Juhas <[email protected]>
- Loading branch information
1 parent
60f2590
commit bc9fc97
Showing
2 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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