rich7420 commented on PR #700:
URL: https://github.com/apache/mahout/pull/700#issuecomment-3631165787
LGTM !
here's my result
======================================================================
E2E BENCHMARK: 16 Qubits, 2000 Samples
======================================================================
[PennyLane] Full Pipeline (Disk -> GPU)...
IO Time: 1.5408 s
/home/rich-wsl/mahout/qdp/qdp-python/../benchmark/benchmark_e2e_final.py:207:
UserWarning: Casting complex values to real discards the imaginary part
(Triggered internally at ../aten/src/ATen/native/Copy.cpp:301.)
state_gpu = state_cpu.to("cuda", dtype=torch.float32)
Total Time: 2.6046 s
[Qiskit] Full Pipeline (Disk -> GPU)...
IO Time: 1.3602 s
Processed 10/16 vectors...
Total Time: 314.1786 s
[Mahout] Full Pipeline (Disk -> GPU)...
Parquet->GPU (IO+Encode): 1.5916 s
DLPack conversion: 0.0002 s
Reshape & convert: 0.0870 s
Total Time: 1.7024 s
======================================================================
E2E LATENCY (Lower is Better)
Samples: 2000, Qubits: 16
======================================================================
Mahout 1.7024 s
PennyLane 2.6046 s
Qiskit 314.1786 s
----------------------------------------------------------------------
Speedup vs PennyLane: 1.53x
Speedup vs Qiskit: 184.56x
======================================================================
VERIFICATION (Mahout vs PennyLane)
======================================================================
Max Probability Difference: 1.21e-18
Max Amplitude Difference: 8.93e-17
>> SUCCESS: Quantum States Match!
======================================================================
VERIFICATION (Mahout vs Qiskit)
======================================================================
Max Probability Difference: 4.96e-12
Max Amplitude Difference: 2.33e-10
>> SUCCESS: Quantum States Match!
======================================================================
VERIFICATION (PennyLane vs Qiskit)
======================================================================
Max Probability Difference: 4.96e-12
Max Amplitude Difference: 2.33e-10
>> SUCCESS: Quantum States Match!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]