Qrack  9.0
General classical-emulating-quantum development framework
Public Member Functions | Public Attributes | List of all members
Qrack::MpsShard Struct Reference

#include <mpsshard.hpp>

Public Member Functions

 MpsShard ()
 
 MpsShard (const complex *g)
 
MpsShardPtr Clone ()
 
void Compose (const complex *g)
 
bool IsPhase ()
 
bool IsInvert ()
 
bool IsHPhase ()
 
bool IsHInvert ()
 
bool IsIdentity ()
 
bool IsX (bool randGlobalPhase=true)
 
bool IsY (bool randGlobalPhase=true)
 
bool IsZ (bool randGlobalPhase=true)
 
bool IsH ()
 

Public Attributes

complex gate [4U]
 

Constructor & Destructor Documentation

◆ MpsShard() [1/2]

Qrack::MpsShard::MpsShard ( )
inline

◆ MpsShard() [2/2]

Qrack::MpsShard::MpsShard ( const complex g)
inline

Member Function Documentation

◆ Clone()

MpsShardPtr Qrack::MpsShard::Clone ( )
inline

◆ Compose()

void Qrack::MpsShard::Compose ( const complex g)
inline

◆ IsH()

bool Qrack::MpsShard::IsH ( )
inline

◆ IsHInvert()

bool Qrack::MpsShard::IsHInvert ( )
inline

◆ IsHPhase()

bool Qrack::MpsShard::IsHPhase ( )
inline

◆ IsIdentity()

bool Qrack::MpsShard::IsIdentity ( )
inline

◆ IsInvert()

bool Qrack::MpsShard::IsInvert ( )
inline

◆ IsPhase()

bool Qrack::MpsShard::IsPhase ( )
inline

◆ IsX()

bool Qrack::MpsShard::IsX ( bool  randGlobalPhase = true)
inline

◆ IsY()

bool Qrack::MpsShard::IsY ( bool  randGlobalPhase = true)
inline

◆ IsZ()

bool Qrack::MpsShard::IsZ ( bool  randGlobalPhase = true)
inline

Member Data Documentation

◆ gate

complex Qrack::MpsShard::gate[4U]

The documentation for this struct was generated from the following file: