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

# samplomatic.tensor\_interface

Interfaces

## Classes

|                                                                                                                                                                                         |                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [`PauliLindbladMapSpecification`](/docs/api/samplomatic/auto/tensor-interface-pauli-lindblad-map-specification "samplomatic.tensor_interface.PauliLindbladMapSpecification")(name, ...) | A specification for interface values of type [`qiskit.quantum_info.PauliLindbladMap`](/docs/api/qiskit/qiskit.quantum_info.PauliLindbladMap). |
| [`Specification`](/docs/api/samplomatic/auto/tensor-interface-specification "samplomatic.tensor_interface.Specification")()                                                             | A specification of an expected value inside of an interface.                                                                                  |
| [`TensorInterface`](/docs/api/samplomatic/auto/tensor-interface-tensor-interface "samplomatic.tensor_interface.TensorInterface")(specs)                                                 | An interface described by strict value type specifications, with a focus on tensor values.                                                    |
| [`TensorSpecification`](/docs/api/samplomatic/auto/tensor-interface-tensor-specification "samplomatic.tensor_interface.TensorSpecification")(name, shape, dtype\[, ...])                | A specification for tensor-valued interface values of a specific type and shape.                                                              |

## Class Inheritance Diagram

![Inheritance diagram of samplomatic.tensor\_interface.Specification, samplomatic.tensor\_interface.PauliLindbladMapSpecification, samplomatic.tensor\_interface.TensorSpecification, samplomatic.tensor\_interface.TensorInterface](https://eu-de.quantum.cloud.ibm.com/docs/images/api/samplomatic/inheritance-c252e6c149bfb144bff4c26699aa8d88a7961f15.avif)
