Giter Club home page Giter Club logo

latticetoolbox's Introduction

A Lattice Toolbox with Lattice Generator, Plot Functions, etc. for triangular, honeycomb and Kagome lattices and some related functionality for quantum many-body physics

The toolbox consists of the following files:

lattice_aux.py:

  • lattice vectors for triangular and hexagonal lattice
  • calculate the euclidean distance for triangular lattices on a torus

lattice_generator.py:

  • Generate a dictionary for lattices for honeycomb and triangular lattice based on the utlf matrix of the lattice. Some simulation tori are hardcoded for the utlf matrices, others are read from the matrix components (Some resulting dicts are in the resources of this package!)
  • Stores the neighbor indices for each lattice points, offers functionality to find specific neighbors of lattice sites
  • calculate adjacency matrices and simple cycles
  • plot the lattice with highlighted nodes and faces or plot multiple instances of the lattices next to each other to see the effect of periodic boundary conditions
  • calculate 3D coordinates for projection of the 2D lattice on a torus
  • plot the lattice on a torus (experimental)

lattice_sets.py

  • Different sets of lattices with number of sites, utlf matrix encoded as ID and symmetry point group

plot_colored_lattices.py

  • Visualize the local action of a Pauli operator acting on the associated ${\mathbb{C}^2}^{\otimes N}$ Hilber space
  • Plot the triangular lattice with colored faces, colored nodes, additional information, etc.

sublattice_finder.py

  • Given a Triangular Lattice with the K-Point in Brillouin Zone, find its three sublattices

latticetoolbox's People

Contributors

iiitobiasiii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.