BaseDecomposition#
- class pennylane_calculquebec.processing.steps.base_decomposition.BaseDecomposition#
Bases:
PreProcStepThe purpose of this transpiler step is to turn the gates in a circuit to a simpler, more easily usable set of gates
Attributes
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]
Methods
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