🌱Aadam's Garden

Search

Search IconIcon to open search

XOR Gate

Last updated Jun 24, 2022

The Exclusive OR (XOR) gate outputs $1$ when only one of the inputs is $1$, but not both. We write the $XOR$ of $A$ and $B$ as $A \oplus B$, where mathematically $\bigoplus$ is addition modulo $2$, meaning we take the reminder after dividing by $2$.

📝 wongIntroductionClassicalQuantum_XOR_Gate.excalidraw.svg

# Sources