SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.08618 · ICLR · 2025

HSG-12M: A Large-Scale Benchmark of Spatial Multigraphs from the Energy Spectra of Non-Hermitian Crystals

Kenji Kawaguchi, Xianquan Yan, Hakan Akg Ün, N Loh, Ching Lee

arXiv · PDF · Open in the Atlas

Code that ran

10 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2506.08618.json · badge: /api/ran/2506.08618.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sarinstein-yan/poly2graph canonical (classifier label)
classifier basis: classifier_2025
6 ran · 2 no recorded run
sarinstein-yan/HSG-12M canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
_fill Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("551cc81aad0cc46e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from numba import njit

# Analyze the function signature and body:
# _fill(img, p, num, nbs, acc, buf)
# - img: array that gets indexed and assigned (img[p], img[cp])
# - p: integer index into img
# - num: integer value to assign
# - nbs: iterable of offsets (for dp in nbs)
# - acc: array passed to _idx2rc, used with len(acc) and division
# - buf: array that stores indices, indexed with buf[0], buf[s], buf[:s]

# Create a small 1D image array with padding to avoid out-of-bounds
# Values: 0=unmarked, 1=boundary, 2=fillable
img = np.array([0, 2, 2, 1, 2, 2, 0], dtype=np.int16)

# Starting position (must point to a fillable cell with value 2)
p = 1

# Number to fill with
num = 3

# Neighbors as offsets (for 1D array, simple +1/-1)
nbs = np.array([1, -1], dtype=np.int64)

# Accumulator for index-to-row-col conversion
# This represents strides/dimensions for converting linear index to coordinates
acc = np.array([3, 1], dtype=np.int64)

# Buffer to store visited indices during flood fill
buf = np.zeros(100, dtype=np.int64)

ARGS = {
    "img": img,
    "p": p,
    "num": num,
    "nbs": nbs,
    "acc": acc,
    "buf": buf,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_idx2rc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("5828ce4bee3117ff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Analyze the function:
# - idx: array-like, indexed with len(idx), used in loop as idx[i], modified in place
# - acc: array-like, indexed with len(acc), used in loop as acc[j]
# Both are used in arithmetic operations and should be numpy arrays

# Create small test arrays
idx = np.array([10, 20, 30], dtype=np.int64)
acc = np.array([2, 3, 5], dtype=np.int64)

ARGS = {
    "idx": idx,
    "acc": acc
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (3, 3) — shape (3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_neighbors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("1e7d8d61a2d483ab")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family int, shape (26,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Analyze what _neighbors expects:
# - shape: used in len(shape), np.ones([3] * dim), indexing shape[::-1][:-1]
# So it needs to be a tuple or list of integers representing dimensions

# Test with a small 3D shape (distinct size like (2, 3, 4))
shape = (2, 3, 4)

ARGS = {
    'shape': shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (26,) — shape (26,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_parse_struc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("34032b590b8b81da")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Analyze the function _parse_struc:
# - img: numpy array that gets raveled and modified (needs to be 2D or higher)
# - nbs: array of neighbor offsets (for iterating through neighbors)
# - acc: array of accumulator values for coordinate conversion
# - iso: boolean flag
# - ring: boolean flag

# The function treats img as a flattened image with:
# - 0 = visited/processed
# - 1 = edge/path pixels
# - 2 = unvisited node pixels
# - >= 10 = labeled nodes

# For a 2D image, nbs should contain offsets for neighbors (e.g., 4-connectivity or 8-connectivity)
# acc should contain the strides for converting 1D indices back to multi-dimensional coordinates

# Create a small 2D image (4x5 = 20 pixels)
img = np.array([
    [2, 2, 1, 2, 2],
    [2, 1, 1, 1, 2],
    [1, 1, 2, 1, 1],
    [2, 2, 1, 2, 2]
], dtype=np.int64)

# For 4x5 image, neighbors in 1D flattened form (4-connectivity)
# In flattened form, offsets are: -5 (up), +5 (down), -1 (left), +1 (right)
nbs = np.array([-5, 5, -1, 1], dtype=np.int64)

# Accumulator for coordinate conversion: strides for each dimension
# For 4x5 image: [5, 1] means stride of 5 for rows, 1 for columns
acc = np.array([5, 1], dtype=np.int64)

# Boolean flags
iso = True
ring = False

ARGS = {
    "img": img,
    "nbs": nbs,
    "acc": acc,
    "iso": iso,
    "ring": ring
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_trace Ran
ran on a synthesized input
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("125338005350e6da")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from numba import njit

# Construct valid arguments for _trace function

# The function traces a path through an image grid
# Parameters:
# - img: a 2D array that gets modified during tracing
# - p: current position (integer index into flattened array)
# - nbs: neighbor offsets (array of integers)
# - acc: accumulator for index to row/col conversion
# - buf: buffer to store the trace path

# Create a small 5x5 image grid (flattened as 1D array for indexing)
img = np.zeros(25, dtype=np.int16)

# Set up a simple path with start/end markers (values >= 10)
# Mark positions with values to trace
# We need at least 2 positions with value >= 10 (for c1 and c2)
img[7] = 11   # First marker (c1)
img[12] = 1   # Part of path
img[17] = 12  # Second marker (c2)

# Starting position
p = 7

# Neighbor offsets (for a 5x5 grid with stride 5)
# These represent moves to adjacent cells in a flattened array
nbs = np.array([-5, -1, 1, 5], dtype=np.int16)

# Accumulator for converting flat index to row/col
# For a 5x5 grid, we use [5, 1] to convert index to (row, col)
acc = np.array([5, 1], dtype=np.int16)

# Buffer to store the trace (needs to be large enough)
buf = np.zeros(30, dtype=np.int16)

ARGS = {
    'img': img,
    'p': p,
    'nbs': nbs,
    'acc': acc,
    'buf': buf
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_class Ran
ran on a synthesized input
sarinstein-yan/HSG-12M/src/hsg/generation.py
code served (permissive licence) · get_code("0196e82974a16562")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import pickle
import numpy as np
import networkx as nx
import tempfile

# Create a temporary directory to hold test NPZ files
temp_dir = tempfile.mkdtemp()

# Create sample data for class_0.npz
graphs_list = [
    nx.Graph([(0, 1), (1, 2)]),
    nx.Graph([(0, 1), (1, 2), (2, 3)])
]
graphs_pickle = [pickle.dumps(g) for g in graphs_list]
y = np.array([0, 0])
a_vals = np.array([1.5, 2.5])
b_vals = np.array([0.5, 1.5])
metadata_val = np.array(['test_meta_1', 'test_meta_2'])

np.savez(
    os.path.join(temp_dir, 'class_0.npz'),
    graphs_pickle=np.array(graphs_pickle, dtype=object),
    y=y,
    a_vals=a_vals,
    b_vals=b_vals,
    metadata=metadata_val
)

ARGS = {
    'class_idx': 0,
    'raw_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
plot_batch_sums Ran
ran on a synthesized input
sarinstein-yan/HSG-12M/src/hsg/sampler.py
code served (permissive licence) · get_code("4077287cfa39f790")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Axes. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import matplotlib.pyplot as plt

# Create small test arrays
np.random.seed(42)
original_arr = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], dtype=np.float32)
permuted_arr = np.array([10, 9, 8, 7, 6, 5, 4, 3, 2, 1], dtype=np.float32)

batch_size = 3
max_sum_per_batch = 15
plot_max_sum = True
ax = None

ARGS = {
    'original_arr': original_arr,
    'permuted_arr': permuted_arr,
    'batch_size': batch_size,
    'max_sum_per_batch': max_sum_per_batch,
    'plot_max_sum': plot_max_sum,
    'ax': ax
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Axes — a Axes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Axes output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
skeleton2graph Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("edffe805610f10c7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned MultiGraph. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import networkx as nx

# Create a small skeletonized image
# Binary image where 1s represent skeleton, 0s represent background
ske = np.array([
    [0, 0, 0, 0, 0, 0, 0],
    [0, 1, 1, 1, 1, 1, 0],
    [0, 1, 0, 0, 0, 1, 0],
    [0, 1, 0, 1, 0, 1, 0],
    [0, 1, 0, 0, 0, 1, 0],
    [0, 1, 1, 1, 1, 1, 0],
    [0, 0, 0, 0, 0, 0, 0],
], dtype=np.uint8)

# Create optional Potential_image (same shape as ske)
Potential_image = np.random.rand(7, 7).astype(np.float32)

# Create optional DOS_image (same shape as ske)
DOS_image = np.random.rand(7, 7).astype(np.float32)

ARGS = {
    'ske': ske,
    'multi': True,
    'iso': False,
    'ring': True,
    'full': True,
    'Potential_image': Potential_image,
    'DOS_image': DOS_image,
    'add_pts': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
networkx, numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MultiGraph — a MultiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MultiGraph output the recorded ndim 1 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unique_indices_by_hash Ran
ran on a synthesized input
sarinstein-yan/HSG-12M/src/hsg/generation.py
code served (permissive licence) · get_code("91955218e5ede93d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import networkx as nx

# Create a few simple graphs with different structures
# Graph 1: simple triangle
g1 = nx.MultiGraph()
g1.add_nodes_from([0, 1, 2])
g1.add_edges_from([(0, 1), (1, 2), (2, 0)])

# Graph 2: simple path (different structure than g1)
g2 = nx.MultiGraph()
g2.add_nodes_from([0, 1, 2])
g2.add_edges_from([(0, 1), (1, 2)])

# Graph 3: another triangle but with different node labels (should hash same)
g3 = nx.MultiGraph()
g3.add_nodes_from([0, 1, 2])
g3.add_edges_from([(0, 1), (1, 2), (2, 0)])

# Graph 4: multigraph with duplicate edges
g4 = nx.MultiGraph()
g4.add_nodes_from([0, 1])
g4.add_edge(0, 1)
g4.add_edge(0, 1)  # Add duplicate edge

graphs = [g1, g2, g3, g4]

ARGS = {
    "graphs": graphs,
    "iters": 3,
    "n_jobs": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
joblib, networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
wl_hash_safe Ran
ran on a synthesized input
sarinstein-yan/HSG-12M/src/hsg/generation.py
code served (permissive licence) · get_code("c523089b6fe7c93b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import networkx as nx

# Create a small MultiGraph for testing
g_multi = nx.MultiGraph()
g_multi.add_nodes_from([0, 1, 2])
g_multi.add_edge(0, 1, weight=0.5)
g_multi.add_edge(0, 1, weight=0.7)  # Second edge between same nodes
g_multi.add_edge(1, 2, weight=0.3)

ARGS = {
    "g": g_multi,
    "iters": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_mark Not yet run
unverified (harvested, no recorded run)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("dcf8beaf538df4ad")
How it ran

no invocation recorded.

build_graph Not yet run
unverified (harvested, no recorded run)
sarinstein-yan/poly2graph/src/poly2graph/skeleton2graph.py
code served (permissive licence) · get_code("3ccd76565fb92dd4")
How it ran

no invocation recorded.

get_model_instance Not yet run
unverified (harvested, no recorded run)
sarinstein-yan/HSG-12M/src/hsg/gnn_baselines.py
code served (permissive licence) · get_code("192d4fb35b2c4783")
How it ran

no invocation recorded.

rebalance_batch Not yet run
unverified (harvested, no recorded run)
sarinstein-yan/HSG-12M/src/hsg/sampler.py
code served (permissive licence) · get_code("357df038bd8c0f65")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

AI is transforming scientific research by revealing new ways to understand complex physical systems, but its impact remains constrained by the lack of large, high-quality domain-specific datasets. A rich, largely untapped resource lies in non-Hermitian quantum physics, where the energy spectra of crystals form intricate geometries on the complex plane-termed as Hamiltonian spectral graphs. Despite their significance as fingerprints for electronic behavior, their systematic study has been intractable due to the reliance on manual extraction. To unlock this potential, we introduce Poly2Graph 1 : a high-performance, open-source pipeline that automates the mapping of 1-D crystal Hamiltonians to spectral graphs. Using this tool, we present HSG-12M 2 : a dataset containing 11.6 million static and 5.1 million dynamic Hamiltonian spectral graphs across 1401 characteristicpolynomial classes, distilled from 177 TB of spectral potential data. Crucially, HSG-12M is the first large-scale dataset of spatial multigraphs-graphs embedded in a metric space where multiple geometrically distinct trajectories between two nodes are retained as separate edges. This simultaneously addresses a critical gap, as existing graph benchmarks overwhelmingly assume simple, non-spatial edges, discarding vital geometric information. Benchmarks with popular GNNs expose new challenges in learning spatial multi-edges at scale. Beyond its practical utility, we show that spectral graphs serve as universal topological fingerprints of polynomials, vectors, and matrices, forging a new algebra-to-graph link. HSG-12M lays the groundwork for data-driven scientific discovery in condensed matter physics, new opportunities in geometry-aware graph learning and beyond.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2506.08618")
get_code_for_paper("2506.08618")
have("2506.08618")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2506.08618.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2506.08618.svg)](https://syntology.ai/paper/2506.08618)

Connect an agent — have() is free.