Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Dipole Codes Attractively Encode Glue Functions   Dipole words are sequences of magnetic dipoles, in which alike elements repel
and opposite elements attract. Magnetic dipoles contrast with more general sets
of bonding types, called glues, in which pairwise bonding strength is specified
by a glue function. We prove that every glue function $g$ has a set of dipole
words, called a dipole code, that attractively encodes $g$: the pairwise
attractions (positive or non-positive bond strength) between the words are
identical to those of $g$. Moreover, we give such word sets of asymptotically
optimal length. Similar results are obtained for a commonly used subclass of
glue functions.

10
The categories of this paper are: q-bio
7
The categories of this paper are: hep-th
25
The categories of this paper are: patt-sol
16
The categories of this paper are: stat
17
The categories of this paper are: q-fin
0
The categories of this paper are: hep-ph
8
The categories of this paper are: hep-ex
22
The categories of this paper are: chao-dyn
2
The categories of this paper are: math
15
The categories of this paper are: nucl-ex
6
The categories of this paper are: astro-ph
32
The categories of this paper are: atom-ph
5
The categories of this paper are: gr-qc
24
The categories of this paper are: dg-ga
23
The categories of this paper are: solv-int
29
The categories of this paper are: funct-an