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

Minor improvements to print_phase class var in gates.py. #136

Merged
merged 3 commits into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. Fix a bug in to_qasm() where printphase (a class variable) is che…

    …cked instead of the intended `phase` (an object attribute).
    dlyongemallo committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    33c768e View commit details
    Browse the repository at this point in the history
  2. Rename printphase to print_phase and annotate it as a class varia…

    …ble.
    
    (PEP-8 recommends words in variable names to be separated with underscore. )
    dlyongemallo committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    3bed53c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95a844e View commit details
    Browse the repository at this point in the history