ryankert01 commented on PR #938:
URL: https://github.com/apache/mahout/pull/938#issuecomment-3831333110

   Comparison of Naive O(4^n) vs Fast Walsh-Hadamard Transform O(nĂ—2^n) 
implementations.
   
   ## Single Sample Performance
   
   | Qubits | Naive | FWT | Speedup |
   |--------|-------|-----|---------|
   | 4 | 0.150 ms | 0.150 ms | 1.0x |
   | 6 | 0.237 ms | 0.143 ms | 1.7x |
   | 8 | 1.199 ms | 0.143 ms | 8.4x |
   | 10 | 6.213 ms | 0.117 ms | **53x** |
   
   ## Batch Performance (64 samples)
   
   | Qubits | Naive | FWT | Speedup |
   |--------|-------|-----|---------|
   | 4 | 0.139 ms | 0.149 ms | 0.9x |
   | 6 | 0.316 ms | 0.155 ms | 2.0x |
   | 8 | 1.223 ms | 0.139 ms | 8.8x |
   | 10 | 22.23 ms | 0.165 ms | **135x** |


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