Bibliography: *
The most common approach to quantum simulations is to store the whole state in memory and to modify it with gates in a given order
*
However, there is a completely different approach that can sometimes eliminate this issue - tensor networks