Quantum Gate Decomposer  v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
Classes | Enumerations
Operation.h File Reference

Header file for a class for the representation of one- and two-qubit operations. More...

#include <vector>
#include "qgd/common.h"
#include "qgd/matrix.h"
Include dependency graph for Operation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Operation
 Base class for the representation of one- and two-qubit operations. More...
 

Enumerations

enum  operation_type {
  GENERAL_OPERATION, CNOT_OPERATION, U3_OPERATION, BLOCK_OPERATION,
  DECOMPOSITION_BASE_CLASS, SUB_MATRIX_DECOMPOSITION_CLASS, N_QUBIT_DECOMPOSITION_CLASS
}
 Type definition of operation types (also generalized for decomposition classes derived from the class Operation_Block) More...
 

Detailed Description

Header file for a class for the representation of one- and two-qubit operations.

Definition in file Operation.h.

Enumeration Type Documentation

◆ operation_type

Type definition of operation types (also generalized for decomposition classes derived from the class Operation_Block)

Enumerator
GENERAL_OPERATION 
CNOT_OPERATION 
U3_OPERATION 
BLOCK_OPERATION 
DECOMPOSITION_BASE_CLASS 
SUB_MATRIX_DECOMPOSITION_CLASS 
N_QUBIT_DECOMPOSITION_CLASS 

Definition at line 33 of file Operation.h.