five

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

收藏
DataCite Commons2024-11-11 更新2025-04-17 收录
下载链接:
https://darus.uni-stuttgart.de/citation?persistentId=doi:10.18419/darus-4113
下载链接
链接失效反馈
官方服务:
资源简介:
<p>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. </p> <p><b>Experiments</b>:<br /> - <code>exp_inf_coeffvariation.py</code>: Trains QNNs using training samples of varying Schmidt rank with fixed vector as Schmidt basis state. Varies the associated Schmidt coefficient.<br /> - <code>exp_inf_random.py</code>: Trains QNNs using random training data.<br/> </p> <p> <b>Experiment results:</b><br /> - <code>exp_inf_coeffvariation.zip</code> and <code>exp_inf_random.zip</code> contain the raw experiment results for both experiments.<br /> - For each combination of controlled variables there is one directory containing the result of all 20 runs of the training process.<br /> - The results for each run are comprised of 3 files: <br />   - <code>[id]_losses.npy</code>: The loss during the training process<br />   - <code>[id]_params.npy</code>: The parameters of the QNN after the training process.<br />   - <code>[id]_V.npy</code>: The trained QNN exported as a 2^4 * 2^4 unitary matrix. </p> <p> <b>Analysis of data</b> (<code>data_extraction.py</code>):<br /> - Computes means and standard deviation of various risk measures and saves the results </p> <p> <b>Plots</b> (<code>plot_obs_risk.py</code>):<br /> - Plots the risk w.r.t. the observable for both experiments based on the analysed data obtained from <code>data_extraction.py</code>.<br /> - Generates <code>plot_coeffvariation.pdf</code> and <code>plot_random.pdf</code>. </p>
提供机构:
DaRUS
创建时间:
2024-03-25
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作