pygsti.algorithms.fiducialselection.xor

Contents

pygsti.algorithms.fiducialselection.xor#

xor(*args)#

Implements logical xor function for arbitrary number of inputs.

Parameters:

args (bool-likes) – All the boolean (or boolean-like) objects to be checked for xor satisfaction.

Returns:

output – True if and only if one and only one element of args is True and the rest are False. False otherwise.

Return type:

bool