PrintResults

PrintResults#

class pennylane_calculquebec.processing.steps.print_steps.PrintResults#

Bases: PostProcStep

Prints the results of a tape

execute(tape, results)

Prints the results of a tape without altering them

execute(tape, results)#

Prints the results of a tape without altering them

Parameters:
  • tape (QuantumTape) – the circuit’s quantum tape (unused)

  • results (dict[str, int]) – the circuit’s results represented as counts

Returns:

the unaltered results

Return type:

dict[str, int]