A Quantum Generative Adversarial Network for distributions