guan404ming opened a new pull request, #584:
URL: https://github.com/apache/mahout/pull/584
### Purpose of PR
This PR adds swap test functionality to all three quantum backends (Qiskit,
Cirq, and Amazon Braket) in Qumat. The swap test is a quantum algorithm for
measuring the overlap between two quantum states, which is useful for quantum
machine learning and quantum state comparison tasks.
### Linked Issues
Add links to related issues.
- Closes #477
### Changes Made
- [ ] Bug fix
- [x] New feature
- [ ] Documentation update
### Important ToDos
Please mark each with an "x"
A GitHub issue exists (if not, please create one)
[https://github.com/apache/mahout/issues]
- [x] Title of PR is "Issue #XXXX: Brief Description of Changes" where XXXX
is the GitHub issue number.
- [x] Created unit tests where appropriate
- [x] Added correct licenses on newly added files
- [ ] Assigned GitHub issue to self
- [ ] Added documentation in ScalaDocs/JavaDocs and to the website
- [x] Successfully built and ran all unit tests, verified that all tests
pass locally
If all of these items are not yet complete, but you still feel it is
appropriate to open a PR, please open it as a **Draft PR** instead.
Once all requirements are met, you can mark it as ready for review.
### Breaking Changes
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No
### Testing & Verification
Describe how you tested the changes.
- [x] Unit tests added
- [x] Manually tested
### Checklist
- [x] The title follows the format "MAHOUT-XXXX Brief Description"
- [x] GitHub issue is created
- [x] Code follows ASF guidelines
--
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]