I have implemented a hybrid quantum NN on a dataset to perform classification. Now I want to apply quantum PCA to my dataset to find the eigenvalues. After going through a few qiskit tutorials, I found that VQE is used for finding eigenvalues in qiskit. Is there a demo program implementing VQE on a dataset where we can check the steps?
$\begingroup$
$\endgroup$
1
-
$\begingroup$ I would recommend looking at the ibm quantum summer schools github repo they had a good notebook for step by step implementation of VQE and QAOA but the thing is that I do not think you can actually use that for finding eigen values. I am gonna recommend implementing QPCA from scartch $\endgroup$– Parmeet Singh EP 066Commented Dec 21, 2021 at 11:35
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
The Qiskit textbook chapter on VQE is specific to molecule ground state, though it has a good introduction on what VQE is and how it works.
The Qiskit Tutorial on Minimum Eigen Optimizer, also available in Quantum Lab where you can interactively play with it, should be good to get you going.