Giter Club home page Giter Club logo

spin_system_snippets's Introduction

Spin System Snippets

スピン系計算する時の頻出あるあるパターンを易しいものから並べた。そういう研究を始める学部4年生とか、数値計算でスピン系やりたい人とか、写経すると良いと思う。ちなC++。なお日本語のもよう。

物性数値計算を思い立って、プログラミング入門書の入門編を読み終えるのを前提としている。CまたはC++で、

  • エディタの起動
  • コンパイル
  • 変数・型
  • 分岐・繰り返し
  • 関数定義
  • ポインタ(少し)

が出来れば全く問題ない。逆に、

  • 構造体・クラス
  • テンプレート
  • STL

等のゴリゴリなC++の知識は一切不要。

これを読んでから、n体ハイゼンベルク模型のハミルトニアンの行列要素を埋めるまで、1,2週間で出来るようになってほしい。(切実)

Table of Contents

順番にやってね

  1. int_prefix
  2. bit_operation
  3. nth_sigma
  4. two_bodies_ising
  5. matrix
  6. n_bodies_ising
  7. spin_operators
  8. n_bodies_heisenberg

Author

Ken Ohata (twitter: @ohataken)

spin_system_snippets's People

Contributors

kenohata avatar

Stargazers

ohataken avatar

Watchers

 avatar James Cloos 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.