---
title: PropagateLocalC1Node (latest version)
description: API reference for samplomatic.samplex.nodes.PropagateLocalC1Node in the latest version of samplomatic
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/samplomatic/auto/samplex-nodes-propagate-local-c-1-node
---

# PropagateLocalC1Node

*class* `samplomatic.samplex.nodes.PropagateLocalC1Node(op_name: str, register_name: str, subsystem_idxs: Sequence[Sequence[int]], *, lookup_table: ndarray | None = None)`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/propagate_local_c1_node.py#L29-L111)

Bases: [`EvaluationNode`](/docs/api/samplomatic/auto/samplex-nodes-evaluation-node "samplomatic.samplex.nodes.evaluation_node.EvaluationNode")

A node that propagates a C1 register past a gate.

**Parameters**

- **op\_name** – The name of the gate.
- **register\_name** – The name of the C1 register to propagate.
- **subsystem\_idxs** – The subsystems in the register. The expected format is that of a collection of subsystems of the same size, i.e., that of a 2D array where the left-most axes is over subsystems and the right-most axes is over qubits.

**Attributes Summary**

|                                                                                                                                                                            |                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [`outgoing_register_type`](#samplomatic.samplex.nodes.PropagateLocalC1Node.outgoing_register_type "samplomatic.samplex.nodes.PropagateLocalC1Node.outgoing_register_type") | The virtual gate type of outgoing registers. |

**Methods Summary**

|                                                                                                                                                   |                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [`evaluate`](#samplomatic.samplex.nodes.PropagateLocalC1Node.evaluate "samplomatic.samplex.nodes.PropagateLocalC1Node.evaluate")(registers, \*\_) | Evaluate this node.                                                              |
| [`get_style`](#samplomatic.samplex.nodes.PropagateLocalC1Node.get_style "samplomatic.samplex.nodes.PropagateLocalC1Node.get_style")()             | Return the style of this node when plotted.                                      |
| [`reads_from`](#samplomatic.samplex.nodes.PropagateLocalC1Node.reads_from "samplomatic.samplex.nodes.PropagateLocalC1Node.reads_from")()          | Return a manifest of which virtual register values this node needs to read from. |
| [`writes_to`](#samplomatic.samplex.nodes.PropagateLocalC1Node.writes_to "samplomatic.samplex.nodes.PropagateLocalC1Node.writes_to")()             | Return a manifest of which virtual register values this node needs to write to.  |

**Attributes Documentation**

### outgoing\_register\_type

**Methods Documentation**

### evaluate

`evaluate(registers, *_)`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/propagate_local_c1_node.py#L66-L78)

Evaluate this node.

**Parameters**

- **registers** – At least those registers needed by this node to read from or write to.
- **parameter\_values** – Parameter values to use during evaluation.

**Raises**

[**SamplexRuntimeError**](/docs/api/samplomatic/auto/exceptions-samplex-runtime-error "samplomatic.exceptions.SamplexRuntimeError") – If the number of parameter values received does not equal the number required by this node.

### get\_style

`get_style()`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/propagate_local_c1_node.py#L104-L111)

Return the style of this node when plotted.

### reads\_from

`reads_from()`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/propagate_local_c1_node.py#L80-L86)

Return a manifest of which virtual register values this node needs to read from.

### writes\_to

`writes_to()`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/propagate_local_c1_node.py#L88-L94)

Return a manifest of which virtual register values this node needs to write to.
