Skip to content

Commit

Permalink
get_unitary_fidelity() is a gross underestimate, for Sycamore
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 19, 2024
1 parent d79287c commit ec39c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcs/sycamore_2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def bench_qrack(width, depth):

full_sim.m_all()

return (full_sim.get_unitary_fidelity(), time.perf_counter() - start)
return time.perf_counter() - start


def main():
Expand All @@ -112,7 +112,7 @@ def main():
# Run the benchmarks
result = bench_qrack(width, depth)
# Calc. and print the results
print("width: " + str(width) + ", depth: " + str(depth) + ", fidelity: " + str(result[0]) + ", seconds: " + str(result[1]))
print("width: " + str(width) + ", depth: " + str(depth) + ", seconds: " + str(result))

return 0

Expand Down

0 comments on commit ec39c9e

Please sign in to comment.