Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Ugly Formatting Print Benchmark #18

Open
2 tasks
evmckinney9 opened this issue Jun 30, 2023 · 0 comments
Open
2 tasks

[Bug]: Ugly Formatting Print Benchmark #18

evmckinney9 opened this issue Jun 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@evmckinney9
Copy link
Owner

evmckinney9 commented Jun 30, 2023

Bug Description

  • Needs some truncating of trials
  • see comment in benchmark.py about code reuse
print(benchmark)

Transpiler: Qiskit-$\sqrt{\texttt{iSWAP}}$

Metric: accepted_subs
Circuit: adder_n4 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: ae Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: dj Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: fredkin_n3 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qaoa Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qft Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qftentangled Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qgan Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: toffoli_n3 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]

Metric: monodromy_depth
Circuit: adder_n4 Mean result: 6.500 Trials: [6.5, 6.5, 6.5, 6.5, 6.5]
Circuit: ae Mean result: 36.450 Trials: [38.0, 33.5, 38.0, 38.0, 35.0]
Circuit: dj Mean result: 13.041 Trials: [13.0, 14.5, 14.5, 12.0, 11.5]
Circuit: fredkin_n3 Mean result: 10.500 Trials: [10.5, 10.5, 10.5, 10.5, 10.5]
Circuit: qaoa Mean result: 8.500 Trials: [8.5, 8.5, 8.5, 8.5, 8.5]
Circuit: qft Mean result: 29.667 Trials: [29.5, 28.5, 32.5, 29.0, 29.0]
Circuit: qftentangled Mean result: 43.582 Trials: [43.0, 42.0, 45.5, 43.0, 44.5]
Circuit: qgan Mean result: 29.896 Trials: [29.5, 29.5, 30.5, 29.5, 30.5]
Circuit: toffoli_n3 Mean result: 5.269 Trials: [5.0, 5.0, 5.0, 6.5, 5.0]

Transpiler: Qiskit-$\texttt{CNOT}$

Metric: accepted_subs
Circuit: adder_n4 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: ae Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: dj Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: fredkin_n3 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qaoa Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qft Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qftentangled Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: qgan Mean result: 0.000 Trials: [0, 0, 0, 0, 0]
Circuit: toffoli_n3 Mean result: 0.000 Trials: [0, 0, 0, 0, 0]

Metric: monodromy_depth
Circuit: adder_n4 Mean result: 10.000 Trials: [10.0, 10.0, 10.0, 10.0, 10.0]
Circuit: ae Mean result: 75.507 Trials: [74.0, 74.0, 72.0, 83.0, 75.0]
Circuit: dj Mean result: 16.806 Trials: [14.0, 14.0, 19.0, 18.0, 20.0]
Circuit: fredkin_n3 Mean result: 15.000 Trials: [15.0, 15.0, 15.0, 15.0, 15.0]
Circuit: qaoa Mean result: 17.000 Trials: [17.0, 17.0, 17.0, 17.0, 17.0]
Circuit: qft Mean result: 59.960 Trials: [57.0, 63.0, 59.0, 59.0, 62.0]
Circuit: qftentangled Mean result: 85.764 Trials: [82.0, 89.0, 84.0, 87.0, 87.0]
Circuit: qgan Mean result: 28.871 Trials: [28.0, 41.0, 28.0, 24.0, 26.0]
Circuit: toffoli_n3 Mean result: 7.000 Trials: [7.0, 7.0, 7.0, 7.0, 7.0]

Transpiler: SABREMS-$\sqrt{\texttt{iSWAP}}$

Metric: accepted_subs
Circuit: adder_n4 Mean result: 0.000 Trials: [0.0, 0.0, 0.0, 0.0, 0.0]
Circuit: ae Mean result: 0.822 Trials: [0.25925925925925924, 0.9629629629629629, 0.9629629629629629, 0.9629629629629629, 0.9629629629629629]
Circuit: dj Mean result: 0.200 Trials: [0.0, 0.3333333333333333, 0.3333333333333333, 0.16666666666666666, 0.16666666666666666]
Circuit: fredkin_n3 Mean result: 0.500 Trials: [0.5, 0.5, 0.5, 0.5, 0.5]
Circuit: qaoa Mean result: 0.027 Trials: [0.0, 0.13333333333333333, 0.0, 0.0, 0.0]
Circuit: qft Mean result: 0.770 Trials: [0.3333333333333333, 0.9629629629629629, 0.9629629629629629, 0.9629629629629629, 0.6296296296296297]
Circuit: qftentangled Mean result: 0.794 Trials: [0.7941176470588235, 0.7941176470588235, 0.7941176470588235, 0.7941176470588235, 0.7941176470588235]
Circuit: qgan Mean result: 0.963 Trials: [0.9629629629629629, 0.9629629629629629, 0.9629629629629629, 0.9629629629629629, 0.9629629629629629]
Circuit: toffoli_n3 Mean result: 0.250 Trials: [0.25, 0.25, 0.25, 0.25, 0.25]


### Version

0
@evmckinney9 evmckinney9 added the bug Something isn't working label Jun 30, 2023
@evmckinney9 evmckinney9 self-assigned this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant