-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
QuantumKernel
class using terra primitives (#437)
* Add primitives branch to CI workflow * added pocs * init fixed * more init * Add qnns PoC * lint fixed * Migrate qnns to new branch * some unittests * more unittest * adapted new design without unittests * removed compute * removed compute * Change inputs, assign parameters method name * docstrings * working on dict version * support dictionarys * Update qiskit_machine_learning/primitives/kernels/base_kernel.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * Update qiskit_machine_learning/primitives/kernels/base_kernel.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * Small fixes * Remove changes from trailing commit * Update qiskit_machine_learning/utils/utils.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * raise error if not all parameters bound * typo * unit tests * training unit tests * feature params order fixex * lint * Create trainable mixin * Update qiskit_machine_learning/primitives/kernels/base_kernel.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * Update qiskit_machine_learning/primitives/kernels/base_kernel.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * Update qiskit_machine_learning/primitives/kernels/pseudo_kernel.py Co-authored-by: dlasecki <dal@zurich.ibm.com> * Fix fidelity imports (new location) * Remove pseudo kernel * evaluate duplicates * merge * black * fix some issues * update to the recent interfaces * update tests * fix fidelity parameterization * skip some tests * fix pylint, mypy * fix copyright * more tweaks * rename methods * refactor * clean up * some docstrings * more tests * streamline base class * fix spell * trainable qk tweaks * fix trainability * revert workflows * revert the notebook * renamings, refactorings, code review * code review * remove commented code * bump terra requirements * code review * code review * fix pylint * enforce psd test * fix docstring * add reno * fix documentation reference * update qsvc, more tests * update qsvr, even more tests * fix qsvr tests * fix lint * Change Terra requirements to accept rc * update pegasos * fix test * Update qiskit_machine_learning/algorithms/classifiers/pegasos_qsvc.py Co-authored-by: Gian Gentinetta <31244916+gentinettagian@users.noreply.github.com> * fix complex eigenvalues * pass parameters as keywords * fix trainability, code review * mixin -> abstract class, keywords * fix docs * update docs * code review * fix tests, pylint * update reno * update reno * fix reno * Update qiskit_machine_learning/algorithms/classifiers/qsvc.py Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> * Update qiskit_machine_learning/algorithms/regressors/qsvr.py Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> * Update qiskit_machine_learning/kernels/quantum_kernel.py Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> * Update releasenotes/notes/add-fidelity-quantum-kernel-d40278abb49e19b5.yaml Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> * code review * fix tests * terra 0.22 * more tests Co-authored-by: Manoel Marques <manoel.marques@ibm.com> Co-authored-by: Gian Gentinetta <gian.gentinetta@gmx.ch> Co-authored-by: dlasecki <dal@zurich.ibm.com> Co-authored-by: Anton Dekusar <adekusar@ie.ibm.com> Co-authored-by: Anton Dekusar <62334182+adekusar-drl@users.noreply.github.com> Co-authored-by: Gian Gentinetta <31244916+gentinettagian@users.noreply.github.com> Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
- Loading branch information
1 parent
3702b74
commit 66e0476
Showing
22 changed files
with
2,125 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.