<commit_before>.. _quadratic_composites:

==========
Composites
==========

The `dimod` package includes several example composed samplers:

.. currentmodule:: dimod.reference.composites

.. contents::
    :local:
    :depth: 1

The :std:doc:`dwave-system <oceandocs:docs_system/sdk_index>` package provides 
additional :std:doc:`composites for D-Wave systems <oceandocs:docs_system/reference/composites>`
such as those used for :term:`minor-embedding`.

Structured Composite
--------------------

.. automodule:: dimod.reference.composites.structure

Class
~~~~~

.. autoclass:: StructureComposite

Properties
~~~~~~~~~~
<commit_msg>Align documentation with class name<commit_after>.. _quadratic_composites:

==========
Composites
==========

The `dimod` package includes several example composed samplers:

.. currentmodule:: dimod.reference.composites

.. contents::
    :local:
    :depth: 1

The :std:doc:`dwave-system <oceandocs:docs_system/sdk_index>` package provides 
additional :std:doc:`composites for D-Wave systems <oceandocs:docs_system/reference/composites>`
such as those used for :term:`minor-embedding`.

Structure Composite
--------------------

.. automodule:: dimod.reference.composites.structure

Class
~~~~~

.. autoclass:: StructureComposite

Properties
~~~~~~~~~~

{'fraction_non_alphanumeric': 0.1799844840961986, 'fraction_numerical': 0.0015515903801396431, 'mean_word_length': 4.633187772925764, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2395118', 'n_tokens_mistral': 416, 'n_tokens_neox': 391, 'n_words': 88}