# Time Evolution

## Description

The Time Evolution  node is one of the building blocks to observe the dynamics of a system over time. It is inserted inside a time loop which evolves an initial state by solving the time-dependent Schrödinger equation (TDSE).

## Inputs

The node has the following inputs:

• Initial State ($\psi_{0}$): An initial state is required as an input which is evolved over time.
• Hamiltonian (H(t)): It inputs the Hamiltonian node which is evolved over time.
• Time step (dt): A scalar quantity that defines the rate of change of time in the evolution of the system.

## Content

At each time step, it will numerically solve the TDSE (Schrödinger equation) and update the intial state to give the time-evolved state.

## Output

After the inputs are provided, the node gives the following output:

• Time-evolved state ($\psi_{t}$): The state evolved after each time step.

## Example

In the example below, the set-up shows the time evolution of linear superpositioned state in a harmonic oscillator.  The Time Evolution node is inserted inside the time loop which evolves the superpositioned state.

The dynamics over time can be seen in the plot when the simulation is running.