py4mulas

Contents:

  • Citing Py4mulas
  • Py4mulas Tutorial
    • Summary Of Simulation Steps
    • Complete Example
    • Plotting
    • Build Your Own Formula
    • Setting Kspace Options
    • Available Operators
    • Available kernels
    • Available Responses
  • py4mulas package
py4mulas
  • Py4mulas Tutorial
  • View page source

Py4mulas Tutorial

Welcome to py4mulas’s tutorial!

  • Summary Of Simulation Steps
    • Serial
    • Parallelized
  • Complete Example
    • Defining a symbolic hamiltonian
    • Computing the transport response
    • Plotting the output
    • Defining the model form Kwant
    • Computing in parallel
  • Plotting
    • Plotting band stractures
    • Plotting k-resolved quantities
  • Build Your Own Formula
    • Defining an opera_kernel
    • Defining a mu_kernel
    • Defining kernels as functions
    • Defining Contractions
    • On Kernel Parameters
    • Notes On Vectorization
  • Setting Kspace Options
    • Chunking the computation by setting chunk_size
    • Precomputing opera kernels by setting precomp
    • Writting large arays to the disc by setting memmap
  • Available Operators
    • Identity
    • Velocity
    • HamDiff
    • Spin Density
    • Spin Current
    • Orbital Density
    • Orbital Current
    • Quadripole Density
    • Quadripole Current
    • Magnetic Octupole Density
    • Magnetic Octupole Current
  • Available kernels
    • \(\mu\)-Kernels
  • Available Responses
Previous Next

© Copyright 2026, O. Ly.

Built with Sphinx using a theme provided by Read the Docs.