WalshDiagonalSynthesisPass.gray_code

WalshDiagonalSynthesisPass.gray_code(number)[source]

Convert a number to its Gray code representation.

Return type:

int