From 4937e7dd018b0a8519cf2aaa4c889e985e44d6e0 Mon Sep 17 00:00:00 2001 From: shab5 <95657217+shab5@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:05:54 -0700 Subject: [PATCH] Scripts for exporting static UI backend Also fixes doc string formatting for Hadamard in the UI --- qualtran/bloqs/basic_gates/hadamard.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qualtran/bloqs/basic_gates/hadamard.py b/qualtran/bloqs/basic_gates/hadamard.py index eca9c99e8..5dc55c20a 100644 --- a/qualtran/bloqs/basic_gates/hadamard.py +++ b/qualtran/bloqs/basic_gates/hadamard.py @@ -51,10 +51,12 @@ class Hadamard(Bloq): This converts between the X and Z basis. - $$\begin{aligned} + $$ + \begin{aligned} H |0\rangle = |+\rangle \\ H |-\rangle = |1\rangle - \end{aligned}$$ + \end{aligned} + $$ Registers: q: The qubit