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:
EvolutionCircuitBuilderEuler-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 viacombine().The output is a single
Circuit(state-prep + evolution) that can be passed tocircuit.get_qre_application()for resource estimation.
- class qdk_chemistry.algorithms.time_evolution.evolution_circuit_builder.euler_builder.EulerEvolutionCircuitBuilderSettings[source]
Bases:
EvolutionCircuitBuilderSettingsSettings for the Euler evolution circuit builder.