Commit 6b6cb338 authored by Kelvin Loh's avatar Kelvin Loh 🖖
Browse files

Merge branch 'Y_gate_typo' into 'develop'

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

See merge request !155
parents 9c413bef 3142f718
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ class Y(Rxy):
        """
        super().__init__(theta=180.0, phi=90.0, qubit=qubit, data=data)
        self.data["name"] = f"Y {qubit}"
        self.data["gate_info"]["tex"] = r"$Y_{\pi/2}$"
        self.data["gate_info"]["tex"] = r"$Y_{\pi}$"

    def __str__(self) -> str:
        qubit = self.data["gate_info"]["qubits"][0]