400Ping opened a new issue, #664:
URL: https://github.com/apache/mahout/issues/664

   ### Goal: 
   Add a host-side preprocessing pipeline so amplitude encoding receives 
validated, normalized, and padded data before GPU transfer.
   
   ### Steps:
   
   - Add preprocessing module in qdp-core (e.g., preprocess.rs): implement 
validation, qubit calc, L2 normalize (rayon), zero-pad, return struct.
   - Update AmplitudeEncoder to use the preprocessed buffer/metadata and keep 
error types/messages consistent.
   - Document the host/GPU contract (who owns normalization/padding) and update 
in-code comments.
   - Add unit/integration tests in qdp-core covering edge cases and happy path; 
run cargo test -p qdp-core.


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