Replication code and experiment result data for training Parameterized Quantum Circuits (PQCs) with entangled data. The experiments evaluate the structure of the loss landscape during training based on the training sample that is used for training.
The combined experiment and data extraction scripts are contained in
experiments_and_data_extraction.zip. The experiment results that are used in the related publication are contained in raw_results.zip.
Experiment/Reproduction setup (experiments_and_data_extraction.zip):
env.sh: Contains specification of experiment environment. Adjust the number of available CPUs as needed.
run_exp_5.py: Entrypoint for experiments for training 5-qubit PQCs. The used PQCs and hyperparameters can be adjusted in this file.
data_extraction.py: Extraction and aggregation of experiment results in preparation for the contained plots. Note that this step was already executed on the results in raw_results.zip and can be omitted if the plots should be reconstructed using the available data.
states_3_qubits.py and states_5.npy contain input states used for the experiments (sorted by number of qubits).
Plots:
improvement_neighborhood.pdf: Comparison of the improvement in a neighborhood ordered by the Schmidt rank of the input. Created by improvement_plot.py.
improvement_by_schmidt_rank.pdf and improvement_by_entanglement_entropy.pdf: Comparison of improvement order by entanglement measures. Created by improvement_by_entanglement.py.
expressibilities_separate.pdf: Comparison of expressivity by PQCs. Created by expressibility_plots.py.
distance_to_zero_comparison.pdf: Comparison of distance to minimum in loss landscape. Created by distance_to_zero_plot.py.