hamil_clever_sim.hamil_runner§

This module provides the core simulation and data handling processes for the app. We expose a few helper classes to act as the “Model” of the data that the view layer can use.

Functions

build_iterative_circuit

Implements a trotterised circuit from a vararg of U(t) circuits.

build_operator_circuit

This method implements trotterisation a hamiltonian while also not needing to create a copy of the circuit N times.

create_u

Implements operator U=exp(iHt) for a given pauli term, with an optional coefficient.

statevec_backend

rtype:

AerSimulator

Classes

SimulationCircuitMetadata

SimulationRunner

SimulationRunnerResult

This class encapsulates the process of running specific kind of simulation, and processing the output into a standard form that can be displayed via the StatevectorDisplay widget.

SimulationTimingData