XOR function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Canon

Package: Microsoft.Quantum.Standard

Warning

XOR has been deprecated. Please use Xor function instead.

Please use Xor function.

function XOR (bit1 : Bool, bit2 : Bool) : Bool

Input

bit1 : Bool

bit2 : Bool

Output : Bool