|
Maestro 0.3.11
Unified interface for quantum circuit simulation
|
#include "../maestrolib/Interface.h"#include <boost/json.hpp>#include <cstdlib>#include <iostream>#include <iterator>#include <memory>#include <string>Go to the source code of this file.
Typedefs | |
| using | Buffer = std::unique_ptr<char, decltype(&FreeResult)> |
Functions | |
| json::object | Decode (char *pointer) |
| int | main (int argc, char **argv) |
| void | Output (const json::object &result, bool framed) |
| bool | Success (const json::object &value) |
Variables | |
| constexpr size_t | MaxRequest = 16 * 1024 * 1024 |
| using Buffer = std::unique_ptr<char, decltype(&FreeResult)> |
Definition at line 14 of file RequestWorker.cpp.
| json::object Decode | ( | char * | pointer | ) |
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 38 of file RequestWorker.cpp.
References Decode(), MaestroFinalizeDistributedMpiGpuJson(), MaestroGetCapabilitiesJson(), MaestroRunRequestJson(), MaestroValidateRequestJson(), MaxRequest, Output(), and Success().
| void Output | ( | const json::object & | result, |
| bool | framed ) |
Definition at line 17 of file RequestWorker.cpp.
Referenced by main(), Utils::detail::TensorExecuteContraction(), and Utils::detail::TensorGateContraction().
| bool Success | ( | const json::object & | value | ) |
Definition at line 32 of file RequestWorker.cpp.
Referenced by main().
|
constexpr |
Definition at line 15 of file RequestWorker.cpp.
Referenced by main().