QuSCO Tutorial

  1. Create and plot the potential   V(x) = - a*exp(-(x-b)^2/0.2) + a
    with a = 5, b = 0, xmin = -3, xmax = +3
    (New Nodes: Spatial Dimension, Scalar, Potential, Position Plot)
  2. Diagonalize H = T + V to find the ground state. Plot it with the potential.
    (New Nodes: Hamiltonian, Spectrum, Linear Combination)
  3. Enclose your nodes (except Spatial Dimension and the Scalar nodes) in a Scope.
    Drag the wave function connection outside the Scope to create a boundary node.
    Double click the Scope name in the upper bar and rename it to ‘initial’
    Collapse the scope by pressing the ‘Collapse’ icon in the upper left tray.
    (New Nodes: Scope, Collapsed Scope)
  4. Copy and paste your Scope. Create a new Scalar node for b for this scope. Set it to 1. Open the pasted Scope. Note the change in the plot! Rename the Scope to ‘target’
  5. Create a For Loop. Create 3 Scalars. Set and connect these such that ”From i = 0”, ”To i” = 1, and  ”Δi = 0.002”. Rename the For Loop to ‘TDSE’.
    (New Nodes: For Loop)
  6. Inside the For Loop, create a Potential, Hamiltonian, Position Plot, Time Evolution, and Fidelity node. Use the same potential as before, but use for b the For Loop variable i. Connect the nodes:  
    The initial state for the Time Evolution should be the one from the ‘initial’ Scope. Use Δi for dt.
    Plot the instantaneous potential and state 
    Measure the fidelity between the ‘target’ state and the instantaneous state from Time Evolution
    (New Nodes: Fidelity)
  7. Play around!