Distributed QUEST for GPU
Functions
QuEST_debug.h File Reference

Developer functions used for unit testing and debugging. More...

#include "QuEST_precision.h"

Go to the source code of this file.

Functions

void initStateOfSingleQubit (MultiQubit *multiQubit, int qubitId, int outcome)
 
void initStateDebug (MultiQubit *multiQubit)
 
void initializeStateFromSingleFile (MultiQubit *multiQubit, char filename[200], QuESTEnv env)
 
int compareStates (MultiQubit mq1, MultiQubit mq2, REAL precision)
 
void reportNodeList (QuESTEnv env)
 Report a list of CPU hostnames and the rank that is running on each if running with MPI enabled and an error message otherwise. More...
 

Detailed Description

Developer functions used for unit testing and debugging.

Not part of the public API. May contain functions that are incomplete or untested.

Definition in file QuEST_debug.h.

Function Documentation

◆ compareStates()

int compareStates ( MultiQubit  mq1,
MultiQubit  mq2,
REAL  precision 
)

◆ initializeStateFromSingleFile()

void initializeStateFromSingleFile ( MultiQubit multiQubit,
char  filename[200],
QuESTEnv  env 
)

◆ initStateDebug()

void initStateDebug ( MultiQubit multiQubit)

◆ initStateOfSingleQubit()

void initStateOfSingleQubit ( MultiQubit multiQubit,
int  qubitId,
int  outcome 
)

◆ reportNodeList()

void reportNodeList ( QuESTEnv  env)

Report a list of CPU hostnames and the rank that is running on each if running with MPI enabled and an error message otherwise.

For debugging purposes.

Parameters
[in]envobject representing the execution environment. A single instance is used for each program