IDEAS home Printed from https://ideas.repec.org/a/wsi/ijmpcx/v15y2004i01ns0129183104005607.html
   My bibliography  Save this article

Physics0.01: Object-Oriented Programming For Exact Diagonalization

Author

Listed:
  • MYUNG-HOON CHUNG

    (College of Science and Technology, Hong-Ik University, Chochiwon, Choongnam 339-800, Korea)

Abstract

A new system of library code is proposed and initiated. It is emphasized that the same terminologies as we find in our textbooks should be used for class names in the library code. This proposal is inspired by .NET of Microsoft. Several rules of thumb are suggested in order to obtain easy-readable coherent codes. As a first step, we present the library code for exact diagonalization in physics. When we build codes, we distinguish between model independent and dependent parts. For the model independent parts, we use the familiar terminologies like$\mathsf{Hamiltonian, HilbertSpace, GroundState}$, etc as class names. As an explicit example, we calculate ground state energy of a quantum dot, showing the triplet–singlet transition.

Suggested Citation

  • Myung-Hoon Chung, 2004. "Physics0.01: Object-Oriented Programming For Exact Diagonalization," International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 15(01), pages 185-192.
  • Handle: RePEc:wsi:ijmpcx:v:15:y:2004:i:01:n:s0129183104005607
    DOI: 10.1142/S0129183104005607
    as

    Download full text from publisher

    File URL: http://www.worldscientific.com/doi/abs/10.1142/S0129183104005607
    Download Restriction: Access to full text is restricted to subscribers

    File URL: https://libkey.io/10.1142/S0129183104005607?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wsi:ijmpcx:v:15:y:2004:i:01:n:s0129183104005607. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscinet.com/ijmpc/ijmpc.shtml .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.