Real World article
(written from a Production point of view)

According to the script for Star Trek IV: The Voyage Home, a four dimensional time gate was a concept proposed by the Andorian scientist Shres.

In 2286, on his memory test, Spock was asked by the computer to identify a model. The model proved to be a three dimensional theoretical representation of this four dimensional time gate.