qp.decomposition.gate_sets.CLIFFORD_T_PLUS_RZ¶
- CLIFFORD_T_PLUS_RZ = GateSet({GlobalPhase=0.0, Identity=0.0, Adjoint(CNOT), Adjoint(CY), Adjoint(CZ), Adjoint(Hadamard), Adjoint(ISWAP), Adjoint(PauliX), Adjoint(PauliY), Adjoint(PauliZ), Adjoint(S), Adjoint(SWAP), Adjoint(SX), Adjoint(T), CNOT, CY, CZ, Hadamard, ISWAP, MidMeasureMP, PauliX, PauliY, PauliZ, S, SWAP, SX, T, RZ=100}, name='Clifford+T+RZ')¶
The Clifford+T gate set with an additional
RZgate.This gate set is used to decompose all non-parametrized operators to the standard Clifford+T gate set, and all parametrized operators to the Clifford+T gate set and an
RZ. This is typically useful when preparing for a discretization step such asgridsynthwhich completes the Clifford+T decomposition of a circuit.Note that the
RZoperator has a weight of100, indicating it is100times more expensive that the other operators.IdentityandGlobalPhasehave weights of0.
code/api/pennylane.decomposition.gate_sets.CLIFFORD_T_PLUS_RZ
Download Python script
Download Notebook
View on GitHub