一个包含了量子计算、量子机器学习、量子深度学习的库
Find a file
2025-04-13 09:49:04 +00:00
model Add files 2025-04-13 09:49:04 +00:00
qlayer Add files 2025-04-13 09:49:04 +00:00
qnn Add files 2025-04-13 09:49:04 +00:00
train Add files 2025-04-13 09:49:04 +00:00
main.py Add files 2025-04-13 09:49:04 +00:00
readme.md Rewrite the quantum conv and transformer 2025-04-13 09:38:16 +00:00
test.py Add files 2025-04-13 09:49:04 +00:00
utils.py Add files 2025-04-13 09:49:04 +00:00

Quantum Neural Networks in NISQ era

  1. Introduction
  2. Structure
  3. Requirements

Introduction

Structure of the Project

graph TD

proj[Project] --> dat[data]

Requirements for Each Algorithm

Main environments for the whole project:

Term Version Command
python 3.10.16 conda create -n name python=3.10
torch 2.4.0+cu124 conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=12.4 -c pytorch -c nvidia
numpy `1.26.4 default by pennylane

Environment for each algorithm:

Package Version Command Package
pennylane >0.40.0 conda install -c conda-forge pennylane-lightning-gpu
pip install --upgrade pennylane
pip install --upgrade pennylane-lightning-gpu
qtransformer.py
transformers 4.50.3 pip install transformers transformer_train.py
datasets 3.5.0 pip install datasets transformer_train.py