Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK 의 이전 버전에서 가져온 것으로, 최신 버전에는 존재하지 않습니다. 최신 버전으로 업데이트하시기를 권장합니다. 자세한 정보는 릴리스 정보를 참조하십시오.

TrotterizationBase

class qiskit.opflow.evolutions.TrotterizationBase(reps=1)

GitHub

Bases: EvolutionBase

Deprecated: A base for Trotterization methods, algorithms for approximating exponentiations of operator sums by compositions of exponentiations.

Deprecated since version 0.24.0

The class qiskit.opflow.evolutions.trotterizations.trotterization_base.TrotterizationBase 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.


Attributes

reps

The number of repetitions to use in the Trotterization, improving the approximation accuracy.


Methods

convert

abstract 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.

Returns

The Operator approximating op_sum’s evolution.

Raises

TypeError – A non-SummedOps Operator is passed into convert.

Return type

OperatorBase

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.