Skip to content

Commit

Permalink
Copied qml_100_GeneratingFourierState problem templates
Browse files Browse the repository at this point in the history
  • Loading branch information
xanadu-qubot committed Feb 14, 2022
1 parent 30f7ca3 commit 4ebe21d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ def check_with_arbitrary_state():
qml.apply(op)
return qml.state()

print(",".join([f"{p.round(5)}" for p in check_with_arbitrary_state()]))
print(",".join([f"{p.real.round(5)},{p.imag.round(5)}" for p in check_with_arbitrary_state()]))
Binary file not shown.

0 comments on commit 4ebe21d

Please sign in to comment.