Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Classes | Macros | Functions
QGDTypes.h File Reference

Custom types for the SQUANDER package. More...

#include <assert.h>
#include <cstddef>
#include <stdint.h>
Include dependency graph for QGDTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QGD_Complex16
 Structure type representing complex numbers in the SQUANDER package. More...
 
struct  QGD_Complex8
 Structure type representing single-precision complex numbers. More...
 

Macros

#define CACHELINE   64
 

Functions

bool operator!= (const QGD_Complex16 &a, const QGD_Complex16 &b) noexcept
 
bool operator!= (const QGD_Complex8 &a, const QGD_Complex8 &b) noexcept
 
bool operator< (const QGD_Complex16 &a, const QGD_Complex16 &b) noexcept
 
bool operator< (const QGD_Complex8 &a, const QGD_Complex8 &b) noexcept
 
bool operator== (const QGD_Complex16 &a, const QGD_Complex16 &b) noexcept
 
bool operator== (const QGD_Complex8 &a, const QGD_Complex8 &b) noexcept
 

Detailed Description

Custom types for the SQUANDER package.

Definition in file QGDTypes.h.

Macro Definition Documentation

◆ CACHELINE

#define CACHELINE   64

Definition at line 33 of file QGDTypes.h.

Function Documentation

◆ operator!=() [1/2]

bool operator!= ( const QGD_Complex16 a,
const QGD_Complex16 b 
)
inlinenoexcept

Definition at line 55 of file QGDTypes.h.

◆ operator!=() [2/2]

bool operator!= ( const QGD_Complex8 a,
const QGD_Complex8 b 
)
inlinenoexcept

Definition at line 61 of file QGDTypes.h.

◆ operator<() [1/2]

bool operator< ( const QGD_Complex16 a,
const QGD_Complex16 b 
)
inlinenoexcept

Definition at line 67 of file QGDTypes.h.

◆ operator<() [2/2]

bool operator< ( const QGD_Complex8 a,
const QGD_Complex8 b 
)
inlinenoexcept

Definition at line 71 of file QGDTypes.h.

◆ operator==() [1/2]

bool operator== ( const QGD_Complex16 a,
const QGD_Complex16 b 
)
inlinenoexcept

Definition at line 52 of file QGDTypes.h.

◆ operator==() [2/2]

bool operator== ( const QGD_Complex8 a,
const QGD_Complex8 b 
)
inlinenoexcept

Definition at line 58 of file QGDTypes.h.