def expand(self):
    (theta, phi, lam) = self.data
    wires = self.wires
    with JacobianTape() as tape:
        qml.Rot(lam, theta, (- lam), wires=wires)
        qml.PhaseShift((phi + lam), wires=wires)
    return tape
def expand(self):
    (theta, phi, lam) = self.data
    wires = self.wires
    with JacobianTape() as tape:
        qml.Rot(lam, theta, (- lam), wires=wires)
        qml.PhaseShift((phi + lam), wires=wires)
    return tape