supervised-learning-of-quantum-circuits

Relevant scripts and data for the paper "Supervised learning of random quantum circuits via scalable neural networks"

https://github.com/simonecantori/supervised-learning-of-quantum-circuits

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Relevant scripts and data for the paper "Supervised learning of random quantum circuits via scalable neural networks"

Basic Info
  • Host: GitHub
  • Owner: simonecantori
  • Language: Python
  • Default Branch: main
  • Size: 7.66 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme Citation

README.md

ML_QC

Relevant scripts and data for the paper entitled "Supervised learning of random quantum circuits via scalable neural networks"

Table of contents

Python scripts

  • "mlqc.py" contains all the important functions. The "main" part of this script can be used to train and test the neural network on quantum circuits of different sizes.

  • "Extrapolationtraintest.py" is used to train a neural network on quantum circuit of a certain size. We can use this neural network to predict expectation values of quantum circuits of different sizes.

  • "Extrapolation_test.py" is used to make prediction on quantum circuits given a pre-train model.

  • "circ_gen.py" generates random quantum circuits with the gates belonging to the set [T, H, CX].

"Dataset" Folder

It contains some of the data used to get the results shown in the paper. One can generate more data by using "circ_gen.py". Input data contains integers in the range [0, 3]. Each integer is related to a quantum gate. In the python scripts, we use the one-hot encoding technique to convert each integer into an array.

"Weights" Folder

This folder can be used to store the weights of the neural network that we want to use again. We have already uploaded a model of a neural network trained on quantum circuits with 10 qubit and 6 gates per qubit. This neural network has been trained using an "EarlyStopping" with "patience = 5". One can decide to use different training protocols.

Owner

  • Login: simonecantori
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: 'Supervised learning of quantum circuits'
message: >-
  "If you use this software, please cite it as
  below."
type: software
authors:
  - given-names: Simone
    family-names: Cantori
    orcid: 'https://orcid.org/0000-0002-6071-9987'
  - given-names: David
    family-names: Vitali
    orcid: 'https://orcid.org/0000-0002-1409-7136'
  - given-names: Sebastiano
    family-names: Pilati
    orcid: 'https://orcid.org/0000-0002-4845-6299'
repository-code: >-
  https://github.com/simonecantori/Supervised-learning-of-quantum-circuits

GitHub Events

Total
Last Year