Data repository for "Minimial-Risk Training Samples for QNN Training from Measurements"

DOI

Replication code and experiment result data for training Quantum Neural Networks with entangled data using one-dimensional projectors as observables. This is the version of the code that was used to generate the experiment results in the related publication.

Experiments: - exp_inf_coeffvariation.py: Trains QNNs using training samples of varying Schmidt rank with fixed vector as Schmidt basis state. Varies the associated Schmidt coefficient. - exp_inf_random.py: Trains QNNs using random training data.

Experiment results: - exp_inf_coeffvariation.zip and exp_inf_random.zip contain the raw experiment results for both experiments. - For each combination of controlled variables there is one directory containing the result of all 20 runs of the training process. - The results for each run are comprised of 3 files:   - [id]_losses.npy: The loss during the training process   - [id]_params.npy: The parameters of the QNN after the training process.   - [id]_V.npy: The trained QNN exported as a 2^4 * 2^4 unitary matrix.

Analysis of data (data_extraction.py): - Computes means and standard deviation of various risk measures and saves the results

Plots (plot_obs_risk.py): - Plots the risk w.r.t. the observable for both experiments based on the analysed data obtained from data_extraction.py. - Generates plot_coeffvariation.pdf and plot_random.pdf.

Identifier
DOI https://doi.org/10.18419/darus-4113
Metadata Access https://darus.uni-stuttgart.de/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.18419/darus-4113
Provenance
Creator Mandl, Alexander ORCID logo; Bechtold, Marvin ORCID logo; Barzen, Johanna ORCID logo; Leymann, Frank (ORCID: 0000-0002-9123-259X)
Publisher DaRUS
Contributor Mandl, Alexander
Publication Year 2024
Funding Reference BMWK 01MQ22007B ; BMWK 01MQ22009B
Rights info:eu-repo/semantics/openAccess
OpenAccess true
Contact Mandl, Alexander (Universität Stuttgart)
Representation
Resource Type Simulation data; Dataset
Format text/x-python; application/zip; application/pdf; text/plain
Size 25234; 15630; 9993; 3823; 3519; 514286295; 1468; 101409125; 494; 333141; 4865; 206468; 8111; 567; 4469; 113; 3584; 10038; 44609; 5323
Version 1.0
Discipline Construction Engineering and Architecture; Engineering; Engineering Sciences