The Q is a fictional group entity in Star Trek TOS spin-offs and films. Members reside in an eternal field of space-time called the Q-continuum. Like the avatar in Hinduism, the Q appear in specific moments of space-time to apparently regulate the ebb and flow of events in the universe.
Like most mythological deities, the manifest aspect of Q uses supernatural powers to baffle, vex and test human beings to the point of distraction. And like most otherworldly pantheons, there is a faction of rebellion within the Q-continuum. The rebels are tired of being “good” and politically correct at the expense of enjoying their free will and vitality. These dissenters are prohibited and disciplined through punishment by the Q moral majority.
Here’s how I put it in my entry for Star Trek: The Next Generation, the series in which he first appears:
And then there was “Q,” played by actor John de Lancie, who was something akin to a classical Greek god in that he had powers and knowledge extending beyond our normal conception of space and time. Also like the Greek gods, he often abused these powers in childish ways and even challenged the authority of the Q Continuum (the ruling body of the Q, representing its status quo), resulting in his frequent punishment.
More recently Wikipedia notes that:
The similarity between Q and Trelane, the alien encountered in the Star Trek episode “The Squire of Gothos“, inspired writer Peter David to establish in his 1994 novel Q-Squared that Trelane is a member of the Continuum, and that Q is his godfather.¹
I’m not sure if this interpretation of Trelane (one of my favorite characters in the original Star Trek) is endorsed by those who define the Star Trek canon. But the literary device of retroactive continuity certainly has become a mainstay in the Star Trek universe.
Related » Dreamtime