Fixed typo in the gate_info of the Y gate in the gate_library

Explanation of changes

Changed the Y gate tex from \pi/2 to \pi. Y gate is a 180 deg rotation, so \pi.

Motivation of changes

Was the same as the Y90 gate, so probably a copy paste error. This caused the circuit diagram to plot it incorrectly, and the same as the Y90 gate.


Merge checklist

See also merge request guidelines

  • Merge request has been reviewed and approved by a project maintainer.
  • Merge request contains a clear description of the proposed changes and the issue it addresses.
  • Merge request made onto appropriate branch (develop for most MRs).
  • New code is fully tested.
  • New code is documented and docstrings use numpydoc format.
  • Changelog has been updated (when applicable).
  • CI pipelines pass
    • black code-formatting passes (gitlab-ci),
    • test suite passes (gitlab-ci),
    • no degradation in code-coverage (codacy),
    • no (serious) new pylint code quality issues introduced (codacy),
    • documentation builds successfully (CI and readthedocs).

For reference, the issues workflow is described in the contribution guidelines.

Merge request reports

Loading