qubo-nn:分类和自动编码QUBO矩阵

上传者: 42131405 | 上传时间: 2022-05-02 12:51:18 | 文件大小: 121KB | 文件类型: ZIP
曲波-NN 9个问题及其各自的QUBO矩阵。 QUBO矩阵用于将优化问题描述为矩阵,以便量子退火器(例如D-Wave QA)可以解决该问题。 现在,这些矩阵是一个非常有趣的构造。因此,出现了一些问题: 是否可以根据QUBO矩阵对问题类别进行分类? 自动编码QUBO矩阵时,要权衡些什么呢,也就是说,在解决方案质量显着下降之前,还能走多远? 让我们找出答案。 项目结构 文件 目的 nn / 包含神经网络模型。 问题/ 包含针对特定问题(例如3SAT或TSP)的生成器和评估器。 曲/ 将包含通用QUBO库。 数据集/ 包含生成的数据集。 楷模/ 包含训练有素的模型。 config.py 配置(json)处理。 main.py 主入口点。 pipe.py 在QUBO矩阵上对NN进行端到端训练和测试。 Simulations.json 所有实验和配置。

文件下载

资源详情

[{"title":"( 53 个子文件 121KB ) qubo-nn:分类和自动编码QUBO矩阵","children":[{"title":"qubo-nn-master","children":[{"title":"qubo_nn","children":[{"title":"config.py <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"contrib","children":[{"title":"non_reversible.py <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"data.py <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"problems","children":[{"title":"minimum_vertex_cover.py <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"max_cut.py <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"util.py <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"set_packing.py <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"quadratic_knapsack.py <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"test_graph_coloring.py <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"test_minimum_vertex_cover.py <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"test_number_partitioning.py <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"test_max2sat.py <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"test_quadratic_assignment.py <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_tsp.py <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false},{"title":"test_set_partitioning.py <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"test_max3sat.py <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"test_set_packing.py <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"test_max_cut.py <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"test_quadratic_knapsack.py <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":false},{"title":"problem.py <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"set_partitioning.py <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"tsp.py <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"number_partitioning.py <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"graph_coloring.py <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"max3sat.py <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"quadratic_assignment.py <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"max2sat.py <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"qubo","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"nn","children":[{"title":"__init__.py <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"models.py <span style='color:#111;'> 9.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"pipeline.py <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"datasets","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"plots","children":[{"title":"tot_mc.png <span style='color:#111;'> 41.98KB </span>","children":null,"spread":false},{"title":"gen_qubo_map_pickle.py <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"qubo_map_singles.png <span style='color:#111;'> 28.42KB </span>","children":null,"spread":false},{"title":"qubo_map_medians.png <span style='color:#111;'> 22.00KB </span>","children":null,"spread":false},{"title":"qubo_map.pickle <span style='color:#111;'> 27.78KB </span>","children":null,"spread":false},{"title":"tot_mc.pickle <span style='color:#111;'> 11.17KB </span>","children":null,"spread":false},{"title":"gen_tot_mc_plot.py <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"plot_qubo_map.py <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"runs","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"logger.py <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"simulations.json <span style='color:#111;'> 15.53KB </span>","children":null,"spread":false}],"spread":false},{"title":"requirements.txt <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"test.sh <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明