pennylane_calculquebec.utility.debug.get_labels

Contents

pennylane_calculquebec.utility.debug.get_labels#

pennylane_calculquebec.utility.debug.get_labels(up_to: int)#

gets bitstrings from 0 to “up_to” value

Parameters:

up_to (int) – the upper bound for the labels

Raises:
  • ValueError – upper bound must be an int

  • ValueError – upper bound must be greater than 0

Returns:

bitstrings from 0 to the upper bounds

Return type:

list[str]