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

Train QCBM with second to last layer in discriminator #10

Open
TDHTTTT opened this issue Feb 26, 2021 · 2 comments
Open

Train QCBM with second to last layer in discriminator #10

TDHTTTT opened this issue Feb 26, 2021 · 2 comments
Assignees

Comments

@TDHTTTT
Copy link
Contributor

TDHTTTT commented Feb 26, 2021

According to the QC-AAN paper, they used the second to the last layer in the discriminator as the input of the QCBM. Although not much explanation is given for such choice, I guess the symmetrical structure of generator and discriminator kinda suggests if the generator can get access to the parameter space of the corresponding discriminator layer, then generator has more chance fooling the discriminator.

Our discriminator looks like this:
discriminator It combines 3 layers of the detector and 3 energy values and combine them to make decision. I guess we can just randomly choose 2**nb_qubits from the 1863 weights from the second to last layer.

@TDHTTTT
Copy link
Contributor Author

TDHTTTT commented Feb 26, 2021

btw, this is the second half of #6

@TDHTTTT
Copy link
Contributor Author

TDHTTTT commented Feb 26, 2021

Added another layer to align the dimension for QCBM:
discriminator

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

2 participants