state_output

guppylang.std.debug.state_output(tag, *args) None[source]

Report the quantum state of the specified qubits.

This is a debugging function that works only when the program is executed on a supported simulator.

Parameters:
  • tag – A string literal representing the tag of the state output.

  • args – The qubits whose quantum state is to be reported. The order they are given

  • reported. (in corresponds to the order in which the state will be)