fastdla.generators.spin_glass.spin_glass_generators

fastdla.generators.spin_glass.spin_glass_generators(num_qubits, h_mean=0., h_stddev=1., j_mean=0., j_stddev=1., seed=None)

Construct the generators of the spin glass (SG) model ansatz.

We adopt the definition of SG in Larocca et al. Quantum 6 (2022):

\[\begin{split}& \mathcal{G}_{\mathrm{SG}} = \left\{ \sum_{n=0}^{N_q - 1} X_n, \sum_{m<n} h_m Z_m + J_{mn} Z_{m} Z_{n} \right\}, \\ & h_m, J_{mn} \in \mathbb{R}.\end{split}\]

This set of generators are proven to close to a full rank DLA in the reference.

Return type:

SparsePauliSumArray