Example #1
0
def Expia(theta):
    _assert_is_number(theta)
    return GateFactory(gtype.ExpiI(theta))
Example #2
0
 def Expia(self, theta):
     return self.create(gtype.ExpiI(theta))
Example #3
0
def expiI(theta, qreg0):
    g = model.Gate(gtype.ExpiI(theta))
    g.set_qreg(qreg0)
    return g