A quantum computer amenable sparse matrix equation solver