I have background in CS but not in Quantum Computing/Quantum Complexity Theory. I am trying to understand the Local Hamiltonian Problem (the formal definition as below):
Local Hamiltonians or Q5SAT: Let $H_j\ (for\ j=1,...r)$ be 5-local Hamiltonians on N qbits (each specified by complex $2^5 \times 2^5$ matrices). Assume that each $H_j$ is scaled so that all eigenvalues $\lambda$ of $H_j$ satisfy $0\leq \lambda \leq1$. Let $H=\Sigma_{j=1}^r H_j$. There is a promise about $H$ that either all eigenvalues of H are $\geq b$ or there is an eigenvalue of $H$ that is $<a$, where $0\leq a < b \leq 1$ and the difference $b-a$ is at least inverse polynomial in $n$ i.e. $b-a \geq 1/poly(n)$. The problem asks whether $H$ has an eigenvalue $\leq a$ ?
The Local Hamiltonian Problem is $QMA-Complete$. P.S. This problem is supposedly similar to 3SAT (and I understand 3SAT).
Here is what I could understand:
- Let the problem be over $N$ variables (qbits).
- We are given some (say $r$) '5-Local Hamiltonian Matrices'. Each $k$-local Matrix is a square Hermitian/Hamiltonian Matrix of size $2^5 \times 2^5$.
- Each entry (number of bits) in each of these matrix is of size/precision $poly(N)$, where $poly(N)$ is some given polynomial on $N$.
- Each $k$-Local Matrix represents a set of (some) $k$ variables (qbits).
- Each $k$-Local Matrix when diagonialized results in diagonal matrix with real entries, each entry in it representing one of the potential 'energy levels'(?) or eigenvalues for that particular $k$-Local Matrix.
- $H$ is a matrix of size $2^N \times 2^N$.
- What I understand is, for any k-Local Matrix, we choose exactly one from the $2^k$ 'energy levels' (say $i^{th}$) and its corresponding row ($i^{th}$) of the original k-Local Matrix is chosen.
There are several things I am really struggling to understand:
How do we combine the local matrices $H_j$ to form the global matrix $H$?
How is one $k$-Local Matrix related to another $k$-Local Matrix? How is the choice of one row or energy level in the first matrix related to or constraints the choice of row or energy level in the second matrix (since its similar to 3SAT)? My (unclear) understanding/guess is its somehow related to the index of each row of each $k$-Local Matrix (each index being a k-bit binary string). But it is not exactly mentioned or explained anywhere. So its not very clear how the constraints using these indexes work and relate any two $k$-Local Matrices.
Assuming that we are able to form the global matrix $H$ using the local matrix, what is the overall objective of the problem (w.r.t. this matrix)? Do we have to find a row of $H$ such that its eigenvalue or energy is less than $a$?
I am really struggling with understanding the problem since most of the sources assume the background in QC/QM. All the terminology and assumptions about background are too convoluted. Moreover no matter where I look there doesn't seem to be a single step-by-step worked out example for this problem. At each place there is just the above definition and the assumption that the reader understood. Can someone explain this problem (assuming only CS background). Since its a mathematical problem I am hopeful it can be explained without (too much) QC background.
A step by step example would also be very helpful but I couldn't find even one!
To start with a bit of folklore, a qubit is a complex vector with two components that is normalized to have length one. It describes the state of a quantum system that can take values of $0$ or $1$ or complex superpositions thereof: $$ a|0\rangle+b|1\rangle\,. $$ Here, $|0\rangle$ is the basis vector $\begin{bmatrix}1\\0\end{bmatrix}\in\mathbb C^2$ and $|1\rangle$ is the basis vector $\begin{bmatrix}0\\1\end{bmatrix}\in\mathbb C^2\,.$
A measurement outcome will either be $0$ or $1$ where the probabilities of those outcomes are $|a|^2$ (to measure $0$), resp. $|b|^2$ (to measure $1$). The normalization $$ |a|^2+|b|^2=1 $$ ensures that these are classical probabilities.
A system of $N$ qubits (quantum register) is the $N$-fold tensor product (Kronecker product) of $N$ qubits. For example, two qubits $\begin{bmatrix}a\\b\end{bmatrix}$ and $\begin{bmatrix}c\\d\end{bmatrix}$ form the Kronecker product $$ \begin{bmatrix}ac&ad\\bc&bd\end{bmatrix} $$ in bra-ket notation these two qubits are $$ a|0\rangle+b|1\rangle\,,\quad c|0\rangle+d|1\rangle\, $$ and their tensor product is $$\tag{1} ac\,|00\rangle+ad\,|01\rangle+bc\,|10\rangle+bd\,|11\rangle\,. $$ The product states $$\tag{2} |00\rangle=\begin{bmatrix}1&0\\0&0\end{bmatrix}\,,\quad |01\rangle=\begin{bmatrix}0&1\\0&0\end{bmatrix}\,,\quad |10\rangle=\begin{bmatrix}0&0\\1&0\end{bmatrix}\,,\quad |11\rangle=\begin{bmatrix}0&0\\0&1\end{bmatrix}\, $$ are an orthonormal basis of this two-qubit system.
A Hamiltonian is a Hermitian map that acts on vectors of the form (1). When we vectorize the basis vectors (2), i.e., write them as $$\tag{3} |00\rangle=\begin{bmatrix}1\\0\\0\\0\end{bmatrix}\,,\quad |01\rangle=\begin{bmatrix}0\\1\\0\\0\end{bmatrix}\,,\quad |10\rangle=\begin{bmatrix}0\\0\\1\\0\end{bmatrix}\,,\quad |11\rangle=\begin{bmatrix}0\\0\\0\\1\end{bmatrix}\, $$ then we can write the Hamiltonian as a Hermitian $4\times 4$-matrix $$ H=\begin{bmatrix} h_{11}&h_{12}&h_{13}&h_{14}\\ \overline{h_{12}}&h_{22}&h_{23}&h_{24}\\ \overline{h_{13}}&\overline{h_{23}}&h_{33}&h_{34}\\ \overline{h_{14}}&\overline{h_{24}}&\overline{h_{34}}&h_{34}\\ \end{bmatrix}\,. $$ The diagonal elements must be real because $H$ is Hermitian.
When $H$ is the Kronecker product of two Hermitian $2\times 2$-matrices $A$ and $B$ $$ H=A\otimes B=\begin{bmatrix} a_{11}B&a_{12}B\\ \overline{a_{12}}B&a_{22}B\\ \end{bmatrix}= \begin{bmatrix} a_{11}b_{11}&a_{11}b_{12}&a_{12}b_{11}&a_{12}b_{12}\\ a_{11}\overline{b_{12}}&a_{11}b_{22}&a_{12}\overline{b_{12}}&a_{12}b_{22}\\ \overline{a_{12}}b_{11}&\overline{a_{12}}b_{12}&a_{22}b_{11}&a_{22}b_{12}\\ \overline{a_{12}}\overline{b_{12}}&\overline{a_{12}}b_{22}&a_{22}\overline{b_{12}}&a_{22}b_{22}\end{bmatrix} $$ then $A$ is a Hamiltonian for the first qubit and $B$ a Hamiltonian for the second qubit.
To me the definition of a $k$-local Hamiltonian in arXiv:0302079 means that the above $H$ is $1$-local when at least one of $A,B$ is the identity matrix. Assume this is $A$. Then $$ H=I\otimes B=\begin{bmatrix} b_{11}&b_{12}&0&0\\ \overline{b_{12}}&b_{22}&0&0\\ 0&0&b_{11}&b_{12}\\ 0&0&\overline{b_{12}}&b_{22}\end{bmatrix}\,. $$ This $4\times 4$-matrix is essentially a $2\times 2$-matrix.
It does therefore make sense when they say that a $2^N\times 2^N$-matrix $H$ is a "sum" of $k$-local $2^k\times 2^k$-matrices $H_i$.