Skip to content
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

[FEATURE REQ] Generalize QNN to n qubits #1

Open
SashwatAnagolum opened this issue Aug 29, 2020 · 0 comments
Open

[FEATURE REQ] Generalize QNN to n qubits #1

SashwatAnagolum opened this issue Aug 29, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@SashwatAnagolum
Copy link
Member

Is your feature request related to a problem? Please describe.
The QNN currently only works with 2 qubits and 4 dimensional data. We need to generalize it so that it works for an arbitrary number of qubits.

Describe the solution you'd like
The ideal solution would consist of:

  • Reworking the encodeData and convertDataToAngles functions using this tutorial on encoding probability distributions: we need to replace the distribution and region boundaries with the data vector, which represents the square roots of the probabilities, and perform the rest of the processing as is.
  • Generalizing the circuit creation and gradient computation functions used: currently most functions are built to work with only two qubits.

Describe alternatives you've considered (if any)
None

Additional context
None

@SashwatAnagolum SashwatAnagolum added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant