This paper proposes an iterative method for solving an operator equation on a separable Hilbert space H equipped with a g-frame. We design an algorithm based on the conjugate gradient method and investigate the convergence and optimality of this algorithm. [ABSTRACT FROM AUTHOR]