add Challenge 7 [unitaryHACK]#39
Conversation
|
Thanks for your submission @MaldoAlberto. By looking at your proposal, it would seem to me this problem is almost identical to challenge #2, but, where instead of finding the min Hamming distance, you're basically finding two identical bit-strings. Wouldn't this make what you're proposing a subset of a problem we have already explored? Thanks! |
|
Hi @diemilio ! the objective of this proposal is to find a way to design a general circuit independent of the number of inputs, although if it is very similar, it would be as the next step since it considered the time of 4 hours, it would be the goal to see that they are sought or identified as a design pattern to solve general problems. I can still change the theme if they do not consider it correct. I wait for your comments and opinions 😄 |
|
Thanks for the response @MaldoAlberto. Yes, I think the problem is too similar to challenge 2, so perhaps a different theme would be better. |
|
@MaldoAlberto, if you'd still like to make use of Grover's algorithm, then perhaps this article might provide some inspiration. Besides what @diemilio mentioned, I think the challenge should be more than just implementing one of the standard algorithms (Grover's, BV, Shor's), since there are already so many implementations out there. Based on what I saw in your submission it seems to be the most straightforward way to use Grover's algorithm. A few more things worth mentioning:
|
|
@diemilio and @amirebrahimi Thank you very much for your observations, in fact, I am thinking about the implementation of the nearest neighbor, its implementation with the iris dataset, and proposing a solution scheme, on the other hand, @amirebrahimi you are right I saw that I had a conflict in the challenge 4 so I think this error, I will modify it to reverse that part thank you very much for your advice and observations if you think it is relevant I will make the proposal and the solution 😃 |
|
@MaldoAlberto - by nearest neighbor, do you mean k-nearest neighbor (kNN) and what would be an equivalent qkNN? If so, then there is already a paper that does that and a related pennylane demo that works with the Iris dataset. What do you find particularly interesting about this challenge? Is there a way you could vary it up by using a different dataset or revealing something interesting about a nearest-neighbor approach between classical and quantum? |
|
@amirebrahimi The pennylane proposal is a variational circuit, the proposal of the article you mention is the proposal of centroids, other it could be using the Euclidean distance using the swap test, for the idea to use few qubits I suggest the iris dataset, but it could use the MNIST or another data set, and it would be to consider as you say the advantages of each one with respect to the classical part. |
|
We discussed as a group and are open to you pursuing this challenge further. Feel free to run any early drafts by us. There are a few concerns about how easy this might end up being with the use of a swap test, so consider either not mentioning some of these in the challenge and/or adding restrictions on how to solve the problem. |
|
Hey @MaldoAlberto and the QOSF team! I wanted to let folks know I am extending the unitaryHACK deadline till the end of this week for PRs that were already in progress to give some time to iterate with maintainers. Let me know if you have questions, or if I can be of help in getting this issue closed! |
|
Hi @amirebrahimi I have just uploaded the new version of my work proposal using the k-nn with the swap test, I look forward to your comments and feedback. |
|
Hi @MaldoAlberto. You are close, but there are a few improvements needed:
|
|
Hi, @amirebrahimi I added to the explanation of the k, why the use of 1,3,5,7. I added the section of references of the concepts that are given in the background. I added the section of resources and their links, in the same way, I made reference to the challenge 05 since this can help to reduce the number of qubits. I added some links of how to obtain the dataset (for example TensorFlow) and the source in case of downloading it. I wait for your comments and opinions 😄 |
|
LGTM @MaldoAlberto. There are a few small fixes (e.g. using markdown for images rather than IPython), but I can make those. Thanks for the contribution! |
I added a problem proposal for challenge 7 by UnitaryHack, likewise for tasks 3 and 4 I made a private repository with the solution.