BaseDecomposition#

class pennylane_calculquebec.processing.steps.base_decomposition.BaseDecomposition#

Bases: PreProcStep

The purpose of this transpiler step is to turn the gates in a circuit to a simpler, more easily usable set of gates

base_gates

the base set of gates the circuit should be turned into

base_gates#

the base set of gates the circuit should be turned into

Returns:

the named of gates to apply the decomposition with

Return type:

list[str]

execute(tape)

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

execute(tape: QuantumTape) 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