GroenteLepel / qiskit-quantum-knn

A pure quantum knn classifier for a gated quantum computer.
Apache License 2.0
22 stars 8 forks source link

This is not working now!! #15

Open RameshHB123 opened 2 years ago

RameshHB123 commented 2 years ago

Since the qiskit aqua is depricated now, this code is not working anymore. Can somebody please help me in implementing this QKNN with latest qiskit libraries.

chin-jey commented 2 years ago

Here you can find a quantum knn (looks a different implementation)

RameshHB123 commented 2 years ago

Hi , thanks for the reply.

Btw, with this one, I'm getting error in encoding_map = AmplitudeEncoding(n_features = 2)

I'm not understanding how to resolve this one, can you please once look into it and get back to me.

Thanks & regards,

Ramesh H B

Outlook for Androidhttps://aka.ms/AAb9ysg


From: chin-jey @.> Sent: Tuesday, April 12, 2022 4:45:24 AM To: GroenteLepel/qiskit-quantum-knn @.> Cc: RR M Tech ECE 1A RAMESH H B @.>; Author @.> Subject: Re: [GroenteLepel/qiskit-quantum-knn] This is not working now!! (Issue #15)

Herehttps://github.com/mspronesti/qlearnkit you can find a quantum knn (looks a different implementation)

— Reply to this email directly, view it on GitHubhttps://github.com/GroenteLepel/qiskit-quantum-knn/issues/15#issuecomment-1095681659, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUQRROS2MF3WO23GMHB7VVTVESXAZANCNFSM5STMTIZA. You are receiving this because you authored the thread.Message ID: @.***>

ErmachenkoBoris commented 2 years ago

Fixed, Now this working.

dhruvbala03 commented 11 months ago

Is it fixed for anyone who installs it through pip? I am still receiving the module not found error with qiskit.aqua

dhruvbala03 commented 11 months ago

Here you can find a quantum knn (looks a different implementation)

@chin-jey I see the following output when running pip install qlearnkit

error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

manvirvirk commented 7 months ago

Hi, it is taking too long to predict. my data shape is(288,10). Can anyone help?