PreProcStep

PreProcStep#

class pennylane_calculquebec.processing.interfaces.pre_proc_step.PreProcStep#

Bases: BaseStep

a base class that represents pre-processing steps that apply on quantum circuit operations

execute(tape)

applies processing on a quantum circuit's results after the execution

execute(tape: QuantumTape)#

applies processing on a quantum circuit’s results after the execution

Parameters:

tape (QuantumTape) – the tape representation of the quantum circuit

Returns:

the processed tape

Return type:

QuantumTape