Skip to content

jqi41/TTN-VQC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TTN-VQC (Tensor-Train Network + Variational Quantum Circuit)

The package provides an implementation of TTN-VQC to corroborate our theoretical work.

git clone https://github.com/uwjunqi/TTN-VQC.git
cd TTN-VQC

Installation

The main dependencies include pytorch, pennylane. To download and install tc:

git clone https://github.com/uwjunqi/Pytorch-Tensor-Train-Network.git
cd Pytorch-Tensor-Train-Network
python setup.py install

Usage of Codes

reg_add_noise.py: generate noisy image data

reg_ttn_vqc.py: the implementation of TTN-VQC model

reg_pca_vqc.py: the implementation of PCA-VQC model

Reference:

This package is related to our papers

[1] Jun Qi, Chao-Han Huck Yang, Pin-Yu Chen, Min-Hsiu Hsieh, "Theoretical Error Performance Analysis for Variational Quantum Circuit Based Functional Regression," npj Quantum Information, Nature Publishing Group UK London, Vol. 9, no. 4, 2023

[2] Jun Qi, Chao-Han Huck Yang, Pin-Yu Chen, "QTN-VQC: An End-to-End Learning Framework for Quantum Neural Networks," Physica Scripta, Vol. 99, no. 1, pp. 015111, 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages