72 lines
2.0 KiB
Plaintext
72 lines
2.0 KiB
Plaintext
---
|
||
title: Suzuki (v0.31)
|
||
description: API reference for qiskit.aqua.operators.evolutions.Suzuki in qiskit v0.31
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.aqua.operators.evolutions.Suzuki
|
||
---
|
||
|
||
# Suzuki
|
||
|
||
<Class id="qiskit.aqua.operators.evolutions.Suzuki" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/aqua/operators/evolutions/trotterizations/suzuki.py" signature="Suzuki(reps=1, order=2)" modifiers="class">
|
||
Bases: `qiskit.aqua.operators.evolutions.trotterizations.trotterization_base.TrotterizationBase`
|
||
|
||
Suzuki Trotter expansion, composing the evolution circuits of each Operator in the sum together by a recursive “bookends” strategy, repeating the whole composed circuit `reps` times.
|
||
|
||
Detailed in [https://arxiv.org/pdf/quant-ph/0508139.pdf](https://arxiv.org/pdf/quant-ph/0508139.pdf).
|
||
|
||
**Parameters**
|
||
|
||
* **reps** (`int`) – The number of times to repeat the expansion circuit.
|
||
* **order** (`int`) – The order of the expansion to perform.
|
||
|
||
## Methods
|
||
|
||
<span id="qiskit-aqua-operators-evolutions-suzuki-convert" />
|
||
|
||
### convert
|
||
|
||
<Function id="qiskit.aqua.operators.evolutions.Suzuki.convert" signature="Suzuki.convert(operator)">
|
||
Convert a `SummedOp` into a `ComposedOp` or `CircuitOp` representing an approximation of e^-i\*\`\`op\_sum\`\`.
|
||
|
||
**Parameters**
|
||
|
||
**operator** (`OperatorBase`) – The `SummedOp` to evolve.
|
||
|
||
**Return type**
|
||
|
||
`OperatorBase`
|
||
|
||
**Returns**
|
||
|
||
The Operator approximating op\_sum’s evolution.
|
||
|
||
**Raises**
|
||
|
||
**TypeError** – A non-SummedOps Operator is passed into `convert`.
|
||
</Function>
|
||
|
||
## Attributes
|
||
|
||
### order
|
||
|
||
<Attribute id="qiskit.aqua.operators.evolutions.Suzuki.order">
|
||
returns order
|
||
|
||
**Return type**
|
||
|
||
`int`
|
||
</Attribute>
|
||
|
||
### reps
|
||
|
||
<Attribute id="qiskit.aqua.operators.evolutions.Suzuki.reps">
|
||
The number of repetitions to use in the Trotterization, improving the approximation accuracy.
|
||
|
||
**Return type**
|
||
|
||
`int`
|
||
</Attribute>
|
||
</Class>
|
||
|