Match

Contents

Match#

class discopy.quantum.gates.Match(name=None, dom=None, cod=None, data=None, *args, **kwargs)[source]#

Bases: ClassicalGate

Takes two bits in, returns them if they are equal.