HSG-12M
收藏资源简介:
HSG-12M 是一个大规模的基于非厄米量子物理的空间多重图数据集,包含 11.6 百万个静态和 510 万个动态汉密尔顿谱图,来自 177 TB 的谱势数据。每个图都编码了一维晶体在复平面上的完整几何能量谱,产生了多样化的、基于物理的拓扑结构,超越了传统的节点坐标数据集。该数据集旨在解决当前图表示学习中存在的局限性,即几乎所有的公共基准都将数据视为简单的图,允许任何节点对之间最多只有一个边。HSG-12M 数据集的发布为几何感知图学习和凝聚态物理及其以外的数据驱动科学发现提供了新的机会。
HSG-12M is a large-scale spatial multi-graph dataset based on non-Hermitian quantum physics, comprising 11.6 million static and 5.1 million dynamic Hamiltonian spectral graphs derived from 177 TB of spectral potential data. Each graph encodes the complete geometric energy spectrum of one-dimensional crystals on the complex plane, yielding diverse, physics-based topological structures that transcend traditional node-coordinate-based datasets. This dataset aims to address the limitations prevailing in current graph representation learning, where nearly all public benchmarks treat data as simple graphs, allowing at most one edge between any pair of nodes. The release of the HSG-12M dataset provides new opportunities for geometry-aware graph learning, condensed matter physics, and data-driven scientific discovery beyond these research areas.
Poly2Graph 数据集概述
数据集简介
Poly2Graph 是一个用于自动构建哈密顿谱图的Python工具包。它接收特征多项式并返回对应的谱图,主要应用于一维晶体能谱的拓扑结构研究。
主要功能
-
高性能计算
- 快速从一维模型构建谱图
- 自适应分辨率降低浮点运算成本和内存使用
- 支持
tensorflow/torch后端加速计算
-
通用拓扑晶格支持
- 支持单带和多带模型
- 灵活输入格式:特征多项式或Bloch哈密顿量(字符串、
sympy.Poly、sympy.Matrix)
-
自动化与鲁棒性
- 默认无需超参数
- 自动推断谱边界
- 对多带模型的"分量碎片化"问题具有较强鲁棒性
-
辅助功能
skeleton2graph模块:将骨架图像转换为图表示hamiltonian模块:不同哈密顿表示间的转换及性质计算
核心组件
p2g.SpectralGraph:研究特定特征多项式/Bloch哈密顿量的谱图拓扑p2g.CharPolyClass:研究参数化特征多项式类,支持并行生成谱属性
典型应用示例
单带模型
python sg = p2g.SpectralGraph("-z**-2 - E - z + z**4", k=k, z=z, E=E)
- 自动计算特性:
- 特征多项式
- Bloch哈密顿量
- Frobenius伴随矩阵
- 能带数和跳跃范围
- 实空间哈密顿量及能谱
多带模型
python sg_multi = p2g.SpectralGraph("z2 + 1/z2 + E*z - E**4", k, z, E)
- 支持4带模型分析
- 生成谱图包含节点/边属性:
- 位置(
pos) - 态密度(
dos) - 谱势(
potential) - 边权重(
weight)等
- 位置(
可视化输出
- 谱函数图像:
- 谱势图
- 态密度图
- 图骨架二值化图像
- 谱图网络可视化:
- 使用
networkx绘制节点和边
- 使用
安装方式
bash pip install poly2graph
或 bash git clone https://github.com/sarinstein-yan/poly2graph.git cd poly2graph pip install .
系统要求
- Python >= 3.11
- 可选加速支持:TensorFlow/PyTorch

- 1HSG-12M: A Large-Scale Spatial Multigraph Dataset新加坡国立大学 · 2025年



