Let us consider the state $\left|\psi\right>$ obtained by applying $m$ 1- and 2-qubit gates to $n$ qubits, starting from the state $\left|0,0,\dots\right>$. Let us express it as: $$ \left|\psi\right> = \sum_{b_1, b_2, \dots} f(b_1, b_2, \dots) \left| b_1, b_2, \dots \right>$$ where the $b_i$ take the values 0 or 1.
It is trivial to see that there is a polynomial $p(b_1, b_2, \dots)$ (something like $b_2 b_4 + 3 b_3^2 b_6 +\dots$) that takes the same values of $f(b_1, b_2, \dots)$ when $b_i$ take the values 0 or 1. This is actually true for whatever $f$, it depends on the discrete values of the $b_i$. Please let me know if I am wrong.
The polynomial obtained with the trivial method is very large but there could be smaller representations. Here, I am asking if there is a know scaling between the the size of the polynomial $p$ (with whatever representation) and the numbers $n$ and $m$. For example, a lower limit, or some method to get a small $p$.
ADDED: the size of the polynomial can be defined in various ways. For example, as the length of the string encoding the polynomial (with a reasonable encoding). Another example: the sum of the degrees of the monomials. The number of monomials or the degree could also be considered.
The question is not about the time needed to calculate $p$, but only about its size.