qsim::
QSimHRunner
#include <run_qsimh.h>
Helper struct for running qsimh.
Summary
Public types |
|
---|---|
Fuser
|
using
typename HybridSimulator::Fuser
|
Gate
|
using
typename
HybridSimulator::Gate
|
HybridData
|
using
typename
HybridSimulator::HybridData
|
Parameter
|
using
typename
HybridSimulator::Parameter
|
fp_type
|
using
typename HybridSimulator::fp_type
|
Public static functions |
|
---|---|
Run
(const Parameter & param, const
Circuit
& circuit, const std::vector< unsigned > & parts, const std::vector< uint64_t > & bitstrings, std::vector< std::complex< fp_type >> & results)
|
bool
Evaluates the amplitudes for a given circuit and set of output states.
|
Public types
Fuser
typename HybridSimulator::Fuser qsim::QSimHRunner::Fuser
fp_type
typename HybridSimulator::fp_type qsim::QSimHRunner::fp_type
Public static functions
Run
bool qsim::QSimHRunner::Run( const Parameter & param, const Circuit & circuit, const std::vector< unsigned > & parts, const std::vector< uint64_t > & bitstrings, std::vector< std::complex< fp_type >> & results )
Evaluates the amplitudes for a given circuit and set of output states.
Details | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
||||||||||
Returns |
True if the simulation completed successfully; false otherwise.
|