Skip to content

Commit f0dd921

Browse files
fix: GST tests
1 parent aab1d45 commit f0dd921

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/qibo/transpiler/unitary_decompositions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def u3_decomposition(unitary, backend):
3232
minus = backend.np.angle(su2[1, 0])
3333
phi = plus + minus
3434
lam = plus - minus
35-
return theta, phi, lam
35+
return float(theta), float(phi), float(lam)
3636

3737

3838
def calculate_psi(unitary, backend, magic_basis=magic_basis):

0 commit comments

Comments
 (0)