Do I have to calculate the Q for every possible action in my action space
Yes, for the given state vector $\phi_{j+1}$ you must calculate the action value for all possible actions from that state. That is the only way that you can calculate $\text{max}_{a'} Q(\phi_{j+1}, a'; \theta)$ used to set the TD target $y_j$.
or simply the Q of the state?
That is not defined. Q is an action value, and can only be calculated when you know both the state and the action.
In practice, your neural network in DQN will be one of two designs:
It takes state and action concatenated as input and models the state-action value function directly: $Q(s,a): \mathcal{S} \times \mathcal{A} \rightarrow \mathbb{R}$. In this case you will need to run a mini-batch of all allowed actions in the same state in order to find $\text{max}_{a'} Q(\phi_{j+1}, a'; \theta)$
It takes state as input and models the state-action value for all actions at once: $f(s): \mathcal{S} \rightarrow \mathbb{R}^{|\mathcal{A}|}$. In this case you will only need to run the forward action once to find $\text{max}_{a'} Q(\phi_{j+1}, a'; \theta)$, but you will need to manipulate the resulting TD target data to ensure the only error gradient is from the selected action - typically this is done by running the network forward on the current state $\phi_{j}$ and modifying that vector with the new TD taget only for the taken action $a_j$
These designs are not mentioned in the pseudo-code because they are an implementation detail somewhat separate from the theory. You will find the second design is more common in DQN implementations, as it often has better performance (in terms of raw speed processing each state).