qdk_chemistry.algorithms.time_evolution.builder.trotter module
QDK/Chemistry implementation of the Trotter decomposition Builder.
- class qdk_chemistry.algorithms.time_evolution.builder.trotter.Trotter(order=1, num_trotter_steps=1, tolerance=1e-12)[source]
Bases:
TimeEvolutionBuilderTrotter decomposition builder.
- __init__(order=1, num_trotter_steps=1, tolerance=1e-12)[source]
Initialize Trotter builder with specified Trotter decomposition settings.
- Parameters:
order (int) – The order of the Trotter decomposition (currently only first order is supported). Defaults to 1.
num_trotter_steps (int) – Number of Trotter steps for the decomposition. Higher values improve accuracy but increase circuit depth. Defaults to 1.
tolerance (float) – Absolute threshold for filtering small Hamiltonian coefficients. Defaults to 1e-12.