43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
---
|
||
title: Trotter
|
||
description: API reference for qiskit.opflow.evolutions.Trotter
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.opflow.evolutions.Trotter
|
||
---
|
||
|
||
# Trotter
|
||
|
||
<Class id="qiskit.opflow.evolutions.Trotter" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.19/qiskit/opflow/evolutions/trotterizations/trotter.py" signature="Trotter(reps=1)" modifiers="class">
|
||
Bases: `qiskit.opflow.evolutions.trotterizations.suzuki.Suzuki`
|
||
|
||
Simple Trotter expansion, composing the evolution circuits of each Operator in the sum together `reps` times and dividing the evolution time of each by `reps`.
|
||
|
||
**Parameters**
|
||
|
||
**reps** (`int`) – The number of times to repeat the Trotterization circuit.
|
||
|
||
## Attributes
|
||
|
||
### order
|
||
|
||
<Attribute id="qiskit.opflow.evolutions.Trotter.order">
|
||
returns order
|
||
|
||
**Return type**
|
||
|
||
`int`
|
||
</Attribute>
|
||
|
||
### reps
|
||
|
||
<Attribute id="qiskit.opflow.evolutions.Trotter.reps">
|
||
The number of repetitions to use in the Trotterization, improving the approximation accuracy.
|
||
|
||
**Return type**
|
||
|
||
`int`
|
||
</Attribute>
|
||
</Class>
|
||
|