---
title: pre_samplex (latest version)
description: API reference for samplomatic.pre_samplex in the latest version of samplomatic
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/samplomatic/pre-samplex
---

# samplomatic.pre\_samplex

Pre-Samplex

## Classes

|                                                                                                                                                             |                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [`DanglerMatch`](/docs/api/samplomatic/auto/pre-samplex-dangler-match "samplomatic.pre_samplex.DanglerMatch")(\[direction, node\_types, ...])               | A helper class to specify conditions on danglers.                                                                                       |
| [`PreChangeBasis`](/docs/api/samplomatic/auto/pre-samplex-pre-change-basis "samplomatic.pre_samplex.PreChangeBasis")(subsystems, direction, ...\[, ...])    | The basis emit node type used during samplex building.                                                                                  |
| [`PreCollect`](/docs/api/samplomatic/auto/pre-samplex-pre-collect "samplomatic.pre_samplex.PreCollect")(subsystems, direction, synth, ...)                  | The collection node type used during samplex building.                                                                                  |
| [`PreEdge`](/docs/api/samplomatic/auto/pre-samplex-pre-edge "samplomatic.pre_samplex.PreEdge")(subsystems, direction\[, ...])                               | Edge data on a samplex builder's graph.                                                                                                 |
| [`PreEmit`](/docs/api/samplomatic/auto/pre-samplex-pre-emit "samplomatic.pre_samplex.PreEmit")(subsystems, direction, register\_type, \*)                   | The emission node type used during samplex building.                                                                                    |
| [`PreInjectNoise`](/docs/api/samplomatic/auto/pre-samplex-pre-inject-noise "samplomatic.pre_samplex.PreInjectNoise")(subsystems, direction, ...\[, ...])    | The inject noise emit node type used during samplex building.                                                                           |
| [`PreMeasure`](/docs/api/samplomatic/auto/pre-samplex-pre-measure "samplomatic.pre_samplex.PreMeasure")(subsystems, creg\_names, ...\[, ...])               | The propagation node type used for measurements during samplex building.                                                                |
| [`PreNode`](/docs/api/samplomatic/auto/pre-samplex-pre-node "samplomatic.pre_samplex.PreNode")(subsystems, direction, \*\[, trace\_info])                   | The node type used during samplex building, different than the type in the final samplex.                                               |
| [`PrePropagate`](/docs/api/samplomatic/auto/pre-samplex-pre-propagate "samplomatic.pre_samplex.PrePropagate")(subsystems, direction, ...\[, ...])           | The propagation node type used during samplex building.                                                                                 |
| [`PrePropagateKey`](/docs/api/samplomatic/auto/pre-samplex-pre-propagate-key "samplomatic.pre_samplex.PrePropagateKey")(mode, operation\_name, ...\[, ...]) | A key used to identify the "type" of `PrePropagate` nodes for clustering purposes.                                                      |
| [`PreSamplex`](/docs/api/samplomatic/auto/pre-samplex-pre-samplex "samplomatic.pre_samplex.PreSamplex")(\[graph, qubit\_map, dangling, ...])                | The sampling IR between a boxed-up circuit and a [`Samplex`](/docs/api/samplomatic/auto/samplex-samplex "samplomatic.samplex.Samplex"). |
