Generative quantum circuits
Collection
Generating quantum circuits with diffusion models, see https://github.com/FlorianFuerrutter/genQC
•
4 items
•
Updated
•
1
Paper: "Quantum circuit synthesis with diffusion models".
prompt="Compile using: ['h', 'cx', 'z', 'x', 'ccx', 'swap']"
['h', 'cx', 'z', 'x', 'ccx', 'swap']
The pre-trained model pipeline can be loaded with genQC
. First install or upgrade genQC
using
pip install -U genQC
Then the model can be loaded by calling
from genQC.pipeline.diffusion_pipeline import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("Floki00/qc_unitary_3qubit", "cpu")
A guide on how to use this model can be found in the example notebook 2_unitary_compilation
[doc] [notebook] on the GitHub repository of genQC
.
The model weights in this repository are licensed under the Apache License 2.0.