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

QRNG #473

Closed
BoltzmannEntropy opened this issue Jun 20, 2023 · 1 comment
Closed

QRNG #473

BoltzmannEntropy opened this issue Jun 20, 2023 · 1 comment

Comments

@BoltzmannEntropy
Copy link

Hello,
My goal here is to create a Quantum Generative Adversarial Network (QGAN). A critical component of this endeavor is the ability to sample from a normal distribution. However, given the constraints of the (Hadamard based) available quantum random number generator, which only produces 1 and -1, there's a necessity to create continuous random numbers between -1 and 1 (or 0 and 1).

The question at hand is whether it's feasible to train and optimize a Parametrized Quantum Circuit (PQC) to generate a Gaussian distribution with a zero mean. If this is possible, the corresponding code would be very beneficial.

Thanks,

@GiggleLiu
Copy link
Member

Wondering if the quantum circuit born machine is what you need.
https://docs.yaoquantum.org/dev/generated/examples/6.quantum-circuit-born-machine/index.html

Also, you might be interested in this quantum GAN implementation in QuAlgorithmZoo
https://github.com/QuantumBFS/QuAlgorithmZoo.jl/tree/master/examples/QuGAN

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