Quantum Computing, Qiskit, Linear Algebra, Mathematics, Python.
at Wolfram MathWorld or on Wikipedia. Exercise 13: Finding an eigenvalue. Inputs: An n×n matrix A. An eigenvector V of matrix A. Output: Return a real number — the eigenvalue of A that is associated with the given eigenvector. import numpy as np def eigenvalue_eigenvector(A): # Convert the matrix A