I know how to find the expectation value for certain operators when the state is a simple state; for instance, if I want the expectation value of the energy of a state $\Psi = \Phi_{n, l, m}$, I know $\langle E_{n, l, m} \rangle = E_0/n^2$.
But what if my state is a combination of simple states? If $\Psi = \sum_i q_i \cdot \Phi_{n_i, l_i, m_i}$?
What I tried to do follows. Let's call $\Phi_{n_i, l_i, m_i} = \Phi_i$ for simplicity.
The expectancy value of $\langle E \rangle = \int \text{d}^3r \Psi^* E \Psi = \int dr^3 \left[\sum_i q_i^* \Phi_i\right] E \left[\sum_i q_i \Phi_i \right]$.
Here, when I distribute, I will get $\langle E \rangle = \int \text{d}^3r \sum_i\left[ q_i^* q_i \Phi_i E \Phi_i^*\right] + R$, where R are the mixed terms. Now I know the states $\Phi_i$ are orthogonal, so inside the integral $\Phi_i^* \Phi_j = 0$, but can I say $\Phi_i^* E \Phi_j = 0$ for $i \neq j$?
Because then, if I can, I get $R = 0$ and $\langle E \rangle = \int \text{d}^3r \sum_i\left[q_i^* q_i \Phi_i E \Phi_i^*\right] = \sum_i\left[q_i^* q_i \int \text{d}^3r \Phi_i E \Phi_i^*\right] = \sum_i\left[q_i^* q_i \langle E_i\rangle\right]$, which reduces the problem to one I can solve.
Is this logic correct?