qdk_chemistry.algorithms.time_evolution.evolution_circuit_builder.euler_builder module

Euler evolution circuit builder.

Builds a state-preparation + time-evolution circuit by dividing \([0, T]\) into Euler steps of size dt, applying a propagator at each step to compute the effective Hamiltonian, Trotterizing, and mapping to a quantum circuit. No circuit execution is performed.

The default propagator (magnus) computes the Magnus-expanded Hamiltonian over each interval, giving second-order global accuracy for smooth drives. Other propagators can be substituted via the propagator setting.

class qdk_chemistry.algorithms.time_evolution.evolution_circuit_builder.euler_builder.EulerEvolutionCircuitBuilder[source]

Bases: EvolutionCircuitBuilder

Euler-step evolution circuit builder.

Divides \([0, T]\) into steps of size dt. At each step, the configured propagator evaluates the effective Hamiltonian, the evolution builder Trotterizes it, and the circuit mapper compiles it to QIR. The resulting per-step circuits are combined via combine().

The output is a single Circuit (state-prep + evolution) that can be passed to circuit.get_qre_application() for resource estimation.

__init__()[source]

Initialize EulerEvolutionCircuitBuilder.

name()[source]

Return euler as the algorithm name.

Return type:

str

class qdk_chemistry.algorithms.time_evolution.evolution_circuit_builder.euler_builder.EulerEvolutionCircuitBuilderSettings[source]

Bases: EvolutionCircuitBuilderSettings

Settings for the Euler evolution circuit builder.

__init__()[source]

Initialize the settings for EulerEvolutionCircuitBuilder.