---
title: TaperedPauliSumOp (v0.46)
description: API reference for qiskit.opflow.primitive_ops.TaperedPauliSumOp in qiskit v0.46
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/0.46/qiskit.opflow.primitive_ops.TaperedPauliSumOp
---

# TaperedPauliSumOp

*class* `qiskit.opflow.primitive_ops.TaperedPauliSumOp(*args, **kwargs)`

[GitHub](https://github.com/qiskit/qiskit/tree/stable/0.46/qiskit/opflow/primitive_ops/tapered_pauli_sum_op.py)

Bases: [`PauliSumOp`](/docs/api/qiskit/0.46/qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.pauli_sum_op.PauliSumOp")

Deprecated: Class for PauliSumOp after tapering

> **Deprecated since version 0.24.0**
>
> The class `qiskit.opflow.primitive_ops.tapered_pauli_sum_op.TaperedPauliSumOp` is deprecated as of qiskit-terra 0.24.0. It will be removed in the Qiskit 1.0 release. For code migration guidelines, visit [https://qisk.it/opflow\_migration](https://qisk.it/opflow_migration).

**Parameters**

- **primitive** – The SparsePauliOp which defines the behavior of the underlying function.
- **z2\_symmetries** – Z2 symmetries which the Operator has.
- **coeff** – A coefficient multiplying the primitive.

**Raises**

[**TypeError**](https://docs.python.org/3/library/exceptions.html#TypeError) – invalid parameters.

## Attributes

### INDENTATION

Default value: `'  '`

### coeff

The scalar coefficient multiplying the Operator.

**Returns**

The coefficient.

### coeffs

Return the Pauli coefficients.

### grouping\_type

Type of Grouping

**Type**

Returns

### instance\_id

Return the unique instance id.

### num\_qubits

### parameters

### primitive

Type: `SparsePauliOp`

The primitive defining the underlying function of the Operator.

**Returns**

The primitive object.

### settings

Return operator settings.

### z2\_symmetries

Z2 symmetries which the Operator has.

**Returns**

The Z2 Symmetries.

## Methods

### assign\_parameters

`assign_parameters(param_dict)`

Binds scalar values to any Terra `Parameters` in the coefficients or primitives of the Operator, or substitutes one `Parameter` for another. This method differs from Terra’s `assign_parameters` in that it also supports lists of values to assign for a give `Parameter`, in which case self will be copied for each parameterization in the binding list(s), and all the copies will be returned in an `OpList`. If lists of parameterizations are used, every `Parameter` in the param\_dict must have the same length list of parameterizations.

**Parameters**

**param\_dict** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) – The dictionary of `Parameters` to replace, and values or lists of values by which to replace them.

**Returns**

The `OperatorBase` with the `Parameters` in self replaced by the values or `Parameters` in param\_dict. If param\_dict contains parameterization lists, this `OperatorBase` is an `OpList`.

**Return type**

[*OperatorBase*](/docs/api/qiskit/0.46/qiskit.opflow.OperatorBase "qiskit.opflow.operator_base.OperatorBase")
