Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Comparing General and Hermitian Eigensolvers

P. K. Majumdar

Published Aug 14, 2026• 0 citations
Publisher

Abstract

This educational Jupyter notebook compares NumPy’s general-purpose numpy.linalg.eig eigensolver with the Hermitian-optimised numpy.linalg.eigh solver using the Pauli-Y operator. It examines eigenvalue ordering, eigenvector orthonormality, numerical residuals and phase-independent agreement between the eigendirections returned by the two methods. The notebook demonstrates that both functions produce valid results for this simple Hermitian matrix while explaining why eigh is the mathematically appropriate and computationally preferable choice for Hermitian operators. It is intended as a transparent, reproducible resource for students and educators studying numerical linear algebra in quantum computing.

DOI
10.5281/zenodo.21939145

Related papers

Diagonalise Hermitian operators and change quantum basis with NumPy

P. K. Majumdar

This program uses NumPy’s Hermitian eigensolver to diagonalise the Pauli-(X) operator, construct its unitary eigenvector matrix and verify the similarity transformation numerically. It also distinguishes NumPy’s automatically ordered eigenbasis from the conventional Hadamard basis, demonstrating that (H†XH=Z).

•Aug 30, 2026•0 citations

Simulating Sequential Single-Qubit State Evolution with NumPy

P. K. Majumdar

This educational Jupyter notebook demonstrates how to simulate sequential quantum-gate operations using NumPy. Beginning with the computational-basis state |0>, it applies the Hadamard and Pauli-X operators in chronological circuit order while explaining the corresponding right-to-left order of matrix multiplication. The notebook uses NumPy's matrix-multiplication operator to compute intermediate and final state vectors, verifies the equivalence of composite-operator evaluation, and confirms that unitary evolution preserves state normalisation. It is intended as a transparent, reproducible introduction to matrix-based single-qubit simulation for students, educators and readers beginning their study of quantum computing.

•Aug 14, 2026•0 citations

THE EIGENVALUE PROBLEM OF SYMMETRIC AND ANTISYMMETRIC MATRIX OPERATORS IN PHYSICS

Badriyah Badriyah, Bambang Supriadi, Chilwatun Nasiroh +1 more

Classical physics began to be superseded by quantum physics because it could not explain microscopic phenomena. Quantum physics employs mathematical approaches such as wave mechanics and matrix mechanics, one of which is the eigenvalue problem involving matrix operators. There are many types of matrix operators; however, not all are suitable for measuring physical quantities in quantum physics. Operators in quantum physics must be Hermitian to ensure that their eigenvalues are real. Eigenvalue problems for matrix operators can be solved either analytically or numerically. Therefore, the objective of this research is to analyze symmetric and antisymmetric matrix operators in the measurement of physical quantities through eigenvalue problems. The research method utilized is a theoretical computational approach. The results demonstrate that symmetric matrix operators are Hermitian and yield real eigenvalues. In contrast, antisymmetric matrix operators are non Hermitian, yielding imaginary or complex eigenvalues. The results of solving eigen problems using Python obtained relative errors between 0 and orders., while the absolute error remained below 10%, thus confirming the validity of the results. Based on the findings, symmetric matrix operators satisfy the requirements for use in physical problems through eigenvalue analysis. The eigenvalues of antisymmetric matrices cannot represent the measurement of physical quantities directly and serve only as rotation operators. However, antisymmetric matrices can be utilized in quantum physics for physical measurements if they are transformed into Hermitian matrices. Furthermore, solving eigenvalue problems with Python is effective due to its high accuracy and small error margins.

Jurnal Ilmu Fisika dan Pembelajarannya (JIFP)•Jun 26, 2026•0 citations

Simulating a Sequential Pauli-Y–Hadamard–Pauli-Z Quantum Circuit

P. K. Majumdar

This notebook demonstrates how NumPy can be used to construct the unified matrix operator for a single-qubit circuit in which the Pauli-Y, Hadamard and Pauli-Z gates are applied sequentially. It explains the relationship between chronological circuit order and right-to-left matrix multiplication, computes the composite operator as Z @ H @ Y, prints the resulting 2 × 2 complex matrix and verifies numerically that the composite transformation remains unitary.

•Aug 19, 2026•0 citations

The base matrix of hermitian operator order n<4

S Epiningtiyas, Bambang Supriadi, Trapsilo Prihandono +3 more

The Eigen problem is a problem that exists when there is an operator that is affected by the function, then that function does not change except being multipled by the constant in the form of an eigenvalue. In general, the eigenvalue problem uses the Hermitian operators by using observable variable in the form of mathematical operations. Hermitian operator is an operator that happens when the Hermit conjugation is performed, then the operator will return to its original condition. This research aims to determine the base matrix of Hermitian operators with order n ≤ 4 (size 2 × 2, 3 × 3 and 4 × 4). Entry element of the hermitian matrix operator uses complex numbers of which each order consists of few Hermitian operators. The method used is an analytical method by inserting problems into the eigen equation then normalized to obtain a diagonal matrix, so as to obtain a complete solution of the eigen problem on form of a matrix (including eigenvalues, normalized eigenvectors, and base matrix). Base matrix that has been obtained will be a diagonal matrix with diagonal elements of the eigenvalue. The results of this research indicate that the base matrix obtained in each order forms a square matrix that has entry elements in the form of complex numbers.

Journal of Physics Conference Series•May 1, 2020•0 citations

A universal variational quantum eigensolver for non-Hermitian systems

Huanfeng Zhao, Peng Zhang, Tzu-Chieh Wei

Many quantum algorithms are developed to evaluate eigenvalues for Hermitian matrices. However, few practical approach exists for the eigenanalysis of non-Hermintian ones, such as arising from modern power systems. The main difficulty lies in the fact that, as the eigenvector matrix of a general matrix can be non-unitary, solving a general eigenvalue problem is inherently incompatible with existing unitary-gate-based quantum methods. To fill this gap, this paper introduces a Variational Quantum Universal Eigensolver (VQUE), which is deployable on noisy intermediate scale quantum computers. Our new contributions include: (1) The first universal variational quantum algorithm capable of evaluating the eigenvalues of non-Hermitian matrices-Inspired by Schur's triangularization theory, VQUE unitarizes the eigenvalue problem to a procedure of searching unitary transformation matrices via quantum devices; (2) A Quantum Process Snapshot technique is devised to make VQUE maintain the potential quantum advantage inherited from the original variational quantum eigensolver-With additional [Formula: see text] quantum gates, this method efficiently identifies whether a unitary operator is triangular with respect to a given basis; (3) Successful deployment and validation of VQUE on a real noisy quantum computer, which demonstrates the algorithm's feasibility. We also undertake a comprehensive parametric study to validate VQUE's scalability, generality, and performance in realistic applications.

Scientific Reports•Dec 15, 2023•14 citations
This educational Jupyter notebook compares NumPy’s general-purpose numpy.linalg.eig eigensolver with the Hermitian-optimised numpy.linalg.eigh solver using the Pauli-Y operator. It examines eigenvalue ordering, eigenvector orthonormality, numerical residuals and phase-independent agreement between the eigendirections returned by the two methods. The notebook demonstrates that both functions produce valid results for this simple Hermitian matrix while explaining why eigh is the mathematically appropriate and computationally preferable choice for Hermitian operators. It is intended as a transparent, reproducible resource for students and educators studying numerical linear algebra in quantum computing.
This educational Jupyter notebook demonstrates how to simulate sequential quantum-gate operations using NumPy. Beginning with the computational-basis state |0>, it applies the Hadamard and Pauli-X operators in chronological circuit order while explaining the corresponding right-to-left order of matrix multiplication. The notebook uses NumPy's matrix-multiplication operator to compute intermediate and final state vectors, verifies the equivalence of composite-operator evaluation, and confirms that unitary evolution preserves state normalisation. It is intended as a transparent, reproducible introduction to matrix-based single-qubit simulation for students, educators and readers beginning their study of quantum computing.
Classical physics began to be superseded by quantum physics because it could not explain microscopic phenomena. Quantum physics employs mathematical approaches such as wave mechanics and matrix mechanics, one of which is the eigenvalue problem involving matrix operators. There are many types of matrix operators; however, not all are suitable for measuring physical quantities in quantum physics. Operators in quantum physics must be Hermitian to ensure that their eigenvalues are real. Eigenvalue problems for matrix operators can be solved either analytically or numerically. Therefore, the objective of this research is to analyze symmetric and antisymmetric matrix operators in the measurement of physical quantities through eigenvalue problems. The research method utilized is a theoretical computational approach. The results demonstrate that symmetric matrix operators are Hermitian and yield real eigenvalues. In contrast, antisymmetric matrix operators are non Hermitian, yielding imaginary or complex eigenvalues. The results of solving eigen problems using Python obtained relative errors between 0 and orders., while the absolute error remained below 10%, thus confirming the validity of the results. Based on the findings, symmetric matrix operators satisfy the requirements for use in physical problems through eigenvalue analysis. The eigenvalues of antisymmetric matrices cannot represent the measurement of physical quantities directly and serve only as rotation operators. However, antisymmetric matrices can be utilized in quantum physics for physical measurements if they are transformed into Hermitian matrices. Furthermore, solving eigenvalue problems with Python is effective due to its high accuracy and small error margins.
The Eigen problem is a problem that exists when there is an operator that is affected by the function, then that function does not change except being multipled by the constant in the form of an eigenvalue. In general, the eigenvalue problem uses the Hermitian operators by using observable variable in the form of mathematical operations. Hermitian operator is an operator that happens when the Hermit conjugation is performed, then the operator will return to its original condition. This research aims to determine the base matrix of Hermitian operators with order n ≤ 4 (size 2 × 2, 3 × 3 and 4 × 4). Entry element of the hermitian matrix operator uses complex numbers of which each order consists of few Hermitian operators. The method used is an analytical method by inserting problems into the eigen equation then normalized to obtain a diagonal matrix, so as to obtain a complete solution of the eigen problem on form of a matrix (including eigenvalues, normalized eigenvectors, and base matrix). Base matrix that has been obtained will be a diagonal matrix with diagonal elements of the eigenvalue. The results of this research indicate that the base matrix obtained in each order forms a square matrix that has entry elements in the form of complex numbers.
Many quantum algorithms are developed to evaluate eigenvalues for Hermitian matrices. However, few practical approach exists for the eigenanalysis of non-Hermintian ones, such as arising from modern power systems. The main difficulty lies in the fact that, as the eigenvector matrix of a general matrix can be non-unitary, solving a general eigenvalue problem is inherently incompatible with existing unitary-gate-based quantum methods. To fill this gap, this paper introduces a Variational Quantum Universal Eigensolver (VQUE), which is deployable on noisy intermediate scale quantum computers. Our new contributions include: (1) The first universal variational quantum algorithm capable of evaluating the eigenvalues of non-Hermitian matrices-Inspired by Schur's triangularization theory, VQUE unitarizes the eigenvalue problem to a procedure of searching unitary transformation matrices via quantum devices; (2) A Quantum Process Snapshot technique is devised to make VQUE maintain the potential quantum advantage inherited from the original variational quantum eigensolver-With additional [Formula: see text] quantum gates, this method efficiently identifies whether a unitary operator is triangular with respect to a given basis; (3) Successful deployment and validation of VQUE on a real noisy quantum computer, which demonstrates the algorithm's feasibility. We also undertake a comprehensive parametric study to validate VQUE's scalability, generality, and performance in realistic applications.