I have learnt that informations about a physical observable property is buried in the state vector of a quantum system. To get the possible value of a property all we need to do is multiply the state with the particular matrix operator. If it yields to an eigenvalue-eigenvector equation then we can tell that the value of the particular property is the eigenvalue. If not (i.e it does not yield to an eigen equation), then we say that the list if possible values on measuring the particular property will be the set of all basis vectors corresponding to that operator with probabilities P^2 where P is the projection the state vector into the corresponding basis vector. In this case, (if I understand it correctly) the matrix multiplied by a vector equation is of absolutely no use. (please correct me if I am wrong)
But under no circumstance, does multiplying by an operator change the state vector.
But as I am learning quantum gates now, I see that even the gates are represented by operators (or matrices). But they do change the state of the quantum system. Obviously both of them are not same(since the former does not change the state). But we use matrices for both of them!
Could you please explain the difference and similarity(if any) between these two types of matrices?