Adding Gate Operator (fixes #5)