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

Efficient Numerical Diagonalization Of Hermitian3 × 3matrices

Author

Listed:
  • JOACHIM KOPP

    (Max–Planck–Institut für Kernphysik, Postfach 10 39 80, 69029 Heidelberg, Germany)

Abstract

A very common problem in science is the numerical diagonalization of symmetric or hermitian3 × 3matrices. Since standard "black box" packages may be too inefficient if the number of matrices is large, we study several alternatives. We consider optimized implementations of the Jacobi, QL, and Cuppen algorithms and compare them with an alytical method relying on Cardano's formula for the eigenvalues and on vector cross products for the eigenvectors. Jacobi is the most accurate, but also the slowest method, while QL and Cuppen are good general purpose algorithms. The analytical algorithm outperforms the others by more than a factor of 2, but becomes inaccurate or may even fail completely if the matrix entries differ greatly in magnitude. This can mostly be circumvented by using a hybrid method, which falls back to QL if conditions are such that the analytical calculation might become too inaccurate. For all algorithms, we give an overview of the underlying mathematical ideas, and present detailed benchmark results. C and Fortran implementations of our code are available for download from.

Suggested Citation

  • Joachim Kopp, 2008. "Efficient Numerical Diagonalization Of Hermitian3 × 3matrices," International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 19(03), pages 523-548.
  • Handle: RePEc:wsi:ijmpcx:v:19:y:2008:i:03:n:s0129183108012303
    DOI: 10.1142/S0129183108012303
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1142/S0129183108012303?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.

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Barrios, Alan J. & Valdés-Hernández, Andrea & Sevilla, Francisco J., 2022. "Dynamics of mode entanglement induced by particle-tunneling in the extended Bose–Hubbard dimer model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 600(C).

    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:19:y:2008:i:03:n:s0129183108012303. 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.