Function Pennylane::Util::log2

Function Documentation

inline auto Pennylane::Util::log2(std::size_t value) -> std::size_t

Log2 calculation.

Parameters

value – Value to calculate for.

Returns

std::size_t