Share via


PrimitiveOperationsGroups Enum

Definition

Groups of primitive operations counted by QCTraceSimulator. Used as a key for the TraceGateTimes dictionary.

public enum PrimitiveOperationsGroups
type PrimitiveOperationsGroups = 
Public Enum PrimitiveOperationsGroups
Inheritance
System.Enum
PrimitiveOperationsGroups

Fields

Name Value Description
CNOT 0

Controlled Pauli X gate, also known as CNOT

QubitClifford 1

Any single qubit Clifford and Pauli gate.

R 2

Any single qubit rotation excluding T and Clifford gates

Measure 3

Any measurement.

T 4

This includes T gate, T_x = H.T.H, T_y = Hy.T.Hy

Applies to