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

Code running result #1

Open
zwyzhr opened this issue Nov 8, 2021 · 11 comments
Open

Code running result #1

zwyzhr opened this issue Nov 8, 2021 · 11 comments

Comments

@zwyzhr
Copy link

zwyzhr commented Nov 8, 2021

Why is the result I run is far from the paper?
image
$(@OG%)DIE0NH2HI J1QH40
Results in the paper:
3J ~) TIA(0(J5`92%~Q5KR

@Anand270294
Copy link

Hi, I am currently also experencing the same issue with the generated images and also the discriminator loss seems to be approaching inf after 30 epochs.

@zwyzhr
Copy link
Author

zwyzhr commented Dec 8, 2021

Hi, I am currently also experencing the same issue with the generated images and also the discriminator loss seems to be approaching inf after 30 epochs.

So your result is the same as mine?

@Anand270294
Copy link

Yeah, it is, I cant seem to get the results shown the in paper but maybe it because I might be doing something wrong. So I am trying to recreate the code properly and see if it works. Apparently the numbers cant seem to be generated in my case.

@Samuelstein1224
Copy link

Hi, the experiment settings for the notebook are set to be PCA-2 Dim (i.e. 5 qubit total, see variable k) and only one set of labels. To change this, you can append the line :

valid_labels += train_labels == 3

prior to data processing.
Furthermore, increase k to 9, and then PCA to 4 Dimensions, and change the train_labels = train_labels[:10000] section to include all data.

If this does not work please post an update and I will investigate it.

@SamYJ2606
Copy link

Hi, can you please clarify what are you referring to which part of the code are you referring to with regards to the PCA dimension? There is no way to alter such a parameter other than the k value according to how the code is written.

@Samuelstein1224
Copy link

Samuelstein1224 commented Jan 14, 2022

Within the code, there is a section with PCA. The n_dimensions can be changed, and accordingly with the k value. So if you use 4 PCA dimensions, k should be 9 (i.e. 9 qubits), or 5 depending on which encoding method you are using.

@SamYJ2606
Copy link

I have changed the n_dimensions to 6, and the results are still the same. May I know what was your n_dimension when you managed to obtain different results?

@BassantTolba1234
Copy link

Dear Prof,
please if you get the same result of the paper, can you kindly share it with me?
I'm waiting for your reply.
Thanks a lot.

@BassantTolba1234
Copy link

Dear Prof, @Anand270294 @SamYJ2606 @Samuelstein1224 @zwyzhr
please if you get the same result of the paper, can you kindly share it with me?
I'm waiting for your reply.
Thanks a lot.

@BassantTolba1234
Copy link

Dear Prof, @Anand270294 @SamYJ2606 @Samuelstein1224 @zwyzhr Is the proposed code used for training only ?.. please can you kindly explain and provide the code for testing please ?

@BassantTolba1234
Copy link

Dear Prof, @Anand270294 @SamYJ2606 @Samuelstein1224 @zwyzhr Is the proposed code used for training only ?.. please can you kindly share the code version for running this code on a real quantum computer not a simulator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants