-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quantum Kernel #2
Conversation
@stefan-woerner previously you mentioned that the |
@attp let's leave as is with feature map and quantum instance. |
Now that I'm adding documentation and tests, it makes more sense to initialise |
…n check for no features in evaluaute Added new test case for no feature map provided
…accordingly. Changed tests to match.
Fixed comments in qsvc and test_qsvc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* Added quantum_kernel, qsvc and qsvr classes. * Add quantum kernel tests and tutorial * add QuantumKernel to html docs * Added default feature map. * Add QSVR * Changed default feature map to PauliFeatureMap, with no features, then check for no features in evaluaute Added new test case for no feature map provided * Changed QSVC to take a quantum kernl and added tests * Made ZZFeatureMap with 2 qubits default and modified evaluate method accordingly. Changed tests to match. * Edited QSVC and QSVR classes to take QuantumKernel. * Changed enforce_psd default to true. Added more details to init docstring. * Added tests for sending arguments to SVC constructor. * Updated qsvr and made test_qsvr Fixed comments in qsvc and test_qsvc * Renamed quantum kernel tutorial and added example using qsvc * Modifed test_qkernel since default for enforce_psd is now True, not False. Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com>
Class (
quantum_kernel.py
) that calculates a quantum kernel for use in scikit-learn machine learning algorithms for classification (qsvc.py
) and regression (qsvr.py
) algorithms.To do:
qsvc
andqsvr
qsvc
andqsvr