The user could conduct the simulations mentioned in the paper by run the main.py. 

We remark that the environment requires the PennyLane Python package.

The subroutine data_preprocessing.py is used for down-sampling the image from 28*28 to 16*16. 

The subroutine aa_encoding.py is used to calculate the quantum input model. 

We do training and the test in qnn.py. 

The figure.py is used for drawing figures.