Helper to transform gate boundaries to ellipsoid polygon.
toEllipse(gate, theta = 2 * pi, npoints = 100)
list containing x and y ellipse boundaries coordinates.
rotation angle of the ellipse. Default is 2*pi. It should not be modified since ellipse gate are axis-aligned.
number of polygon vertices desired.