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

# RightMultiplicationNode

*class* `samplomatic.samplex.nodes.RightMultiplicationNode(operand: GroupRegister, register_name: str)`

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

Bases: `MultiplicationNode`

Perform right multiplication of a fixed register against a given register.

**Parameters**

- **operand** – The fixed group elements by which to multiply.
- **register\_name** – The name of the register to multiply with.

**Raises**

[**SamplexConstructionError**](/docs/api/samplomatic/auto/exceptions-samplex-construction-error "samplomatic.exceptions.SamplexConstructionError") – If `operand` has more than one sample.

**Methods Summary**

|                                                                                                                                                         |                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| [`evaluate`](#samplomatic.samplex.nodes.RightMultiplicationNode.evaluate "samplomatic.samplex.nodes.RightMultiplicationNode.evaluate")(registers, \*\_) | Evaluate this node. |

**Methods Documentation**

### evaluate

`evaluate(registers: dict[str, VirtualRegister], *_)`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/samplex/nodes/multiplication_node.py#L91-L92)

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.
