guan404ming commented on PR #794:
URL: https://github.com/apache/mahout/pull/794#issuecomment-3709972253

   ```
   (qdp-python) titan% uv run python benchmark/benchmark_latency.py --qubits 12 
--batches 20 --batch-size 8 --prefetch 4
   Uninstalled 1 package in 1ms
   Installed 1 package in 5ms
   Generating 160 samples of 12 qubits...
     Batch size   : 8
     Vector length: 4096
     Batches      : 20
     Prefetch     : 4
     Frameworks   : pennylane, qiskit-init, qiskit-statevector, mahout
     Generated 160 samples
     PennyLane/Qiskit format: 5.00 MB
     Mahout format: 5.00 MB
   
   ======================================================================
   DATA-TO-STATE LATENCY BENCHMARK: 12 Qubits, 160 Samples
   ======================================================================
   
   [PennyLane] Full Pipeline (DataLoader -> GPU)...
     Total Time: 0.0423 s (0.264 ms/vector)
   
   [Qiskit Initialize] Full Pipeline (DataLoader -> GPU)...
     Total Time: 11.8223 s (73.890 ms/vector)
   
   [Qiskit Statevector] Full Pipeline (DataLoader -> GPU)...
     Total Time: 0.0222 s (0.139 ms/vector)
   
   [Mahout] Full Pipeline (DataLoader -> GPU)...
     Total Time: 0.0157 s (0.098 ms/vector)
   
   ======================================================================
   LATENCY (Lower is Better)
   Samples: 160, Qubits: 12
   ======================================================================
   Mahout                  0.098 ms/vector
   Qiskit Statevector      0.139 ms/vector
   PennyLane               0.264 ms/vector
   Qiskit Initialize      73.890 ms/vector
   ----------------------------------------------------------------------
   Speedup vs PennyLane:            2.69x
   Speedup vs Qiskit Init:         751.84x
   Speedup vs Qiskit Statevec:       1.41x
   ```


-- 
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]

Reply via email to