examples/python/rippleadd.py
def unmajority(p, a, b, c):
    """Unmajority gate."""
    p.ccx(a, b, c)
    p.cx(c, a)
    p.cx(a, b)
def unmajority(p, a, b, c):
    p.ccx(a, b, c)
    p.cx(c, a)
    p.cx(a, b)
def unmajority ( p , a , b , c ) : p . ccx ( a , b , c ) p . cx ( c , a ) p . cx ( a , b )
Unmajority gate.
Unmajority gate .