|
Maestro 0.3.1
Unified interface for quantum circuit simulation
|
Classes | |
| struct | MgdDistributionConfig |
| struct | MgdExExecutionConfig |
| struct | MgdMpiCommunicator |
| struct | MgdMpiRuntimeInfo |
Typedefs | |
| using | AllProbabilitiesFn = int (*)(void *obj, double *probabilities) |
| using | AmplitudeFn |
| using | ApplyCCXFn |
| using | ApplyCHFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyCPFn |
| using | ApplyCRxFn |
| using | ApplyCRyFn |
| using | ApplyCRzFn |
| using | ApplyCSwapFn |
| using | ApplyCSXDGFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyCSXFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyCUFn |
| using | ApplyCXFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyCYFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyCZFn = int (*)(void *obj, int controlQubit, int targetQubit) |
| using | ApplyHFn = int (*)(void *obj, int qubit) |
| using | ApplyKFn = int (*)(void *obj, int qubit) |
| using | ApplyOneQubitMatrixFn |
| using | ApplyOneQubitMatrixWithLayoutFn |
| using | ApplyPFn = int (*)(void *obj, int qubit, double theta) |
| using | ApplyRxFn = int (*)(void *obj, int qubit, double theta) |
| using | ApplyRyFn = int (*)(void *obj, int qubit, double theta) |
| using | ApplyRzFn = int (*)(void *obj, int qubit, double theta) |
| using | ApplySDGFn = int (*)(void *obj, int qubit) |
| using | ApplySFn = int (*)(void *obj, int qubit) |
| using | ApplySwapFn = int (*)(void *obj, int qubit1, int qubit2) |
| using | ApplySXDGFn = int (*)(void *obj, int qubit) |
| using | ApplySXFn = int (*)(void *obj, int qubit) |
| using | ApplyTDGFn = int (*)(void *obj, int qubit) |
| using | ApplyTFn = int (*)(void *obj, int qubit) |
| using | ApplyTwoQubitMatrixFn |
| using | ApplyTwoQubitMatrixWithLayoutFn |
| using | ApplyUFn |
| using | ApplyXFn = int (*)(void *obj, int qubit) |
| using | ApplyYFn = int (*)(void *obj, int qubit) |
| using | ApplyZFn = int (*)(void *obj, int qubit) |
| using | BasisStateProbabilityFn = double (*)(void *obj, long long int state) |
| using | CheckLicenseFn = int (*)(void *state) |
| using | CloneFn = void *(*)(void *obj) |
| using | ConfigureDistributionFn |
| using | CreateFn = int (*)(void *obj, unsigned int nrQubits) |
| using | CreateStateVectorFn = void *(*)(void *lib) |
| using | CreateStateVectorWithBackendFn = void *(*)(void *lib, int backend) |
| using | CreateWithBasisStateFn |
| using | CreateWithStateFn |
| using | DestroyStateVectorFn = void (*)(void *obj) |
| using | ExpectationValueFn |
| using | FreeLibFn = void (*)(void) |
| using | FreeSavedStateFn = void (*)(void *obj) |
| using | GetApiVersionFn = uint32_t (*)(void) |
| using | GetBackendFn = int (*)(void *obj) |
| using | GetCapabilitiesFn = uint64_t (*)(void) |
| using | GetGlobalQubitsFn |
| using | GetGpuDeviceCountFn = int (*)(void) |
| using | GetLastErrorFn = const char *(*)(void) |
| using | GetLocalStateBoundsFn |
| using | GetLocalStateRangeFn |
| using | GetNrQubitsFn = int (*)(void *obj) |
| using | GetQubitLayoutFn = int (*)(void *obj, int32_t *wires, uint32_t capacity) |
| using | GetShardDevicesFn |
| using | GetStateRangeFn |
| using | GetStateVectorGpuIdFn = int (*)(void *obj) |
| using | InitLibFn = void *(*)(void) |
| using | IsDoublePrecisionFn = int (*)(void *obj) |
| using | MeasureAllQubitsCollapseFn = unsigned long long (*)(void *obj) |
| using | MeasureAllQubitsNoCollapseFn = unsigned long long (*)(void *obj) |
| using | MeasureQubitCollapseFn = int (*)(void *obj, int qubitIndex) |
| using | MeasureQubitNoCollapseFn = int (*)(void *obj, int qubitIndex) |
| using | MeasureQubitsCollapseFn |
| using | MeasureQubitsNoCollapseFn |
| using | ProbabilityFn = double (*)(void *obj, int *qubits, int *mask, int len) |
| using | RedistributeFn |
| using | ResetFn = int (*)(void *obj) |
| using | RestoreStateFreeSavedFn = int (*)(void *obj) |
| using | RestoreStateNoFreeSavedFn = int (*)(void *obj) |
| using | SampleAllFn |
| using | SampleFn |
| using | SaveStateDestructiveFn = int (*)(void *obj) |
| using | SaveStateFn = int (*)(void *obj) |
| using | SaveStateToHostFn = int (*)(void *obj) |
| using | SetDataTypeFn = int (*)(void *obj, int useDoublePrecision) |
| using | SetExExecutionConfigFn |
| using | SetGpuDeviceFn = int (*)(int deviceId) |
| using | SetLocalStateRangeFn |
| using | SetSeedFn = int (*)(void *obj, unsigned long long seed) |
| using | SetStateRangeFn |
| using | SwapGlobalLocalQubitsFn |
| using | SynchronizeFn = int (*)(void *obj) |
| using | ValidateLicenseFn = int (*)(const char *licenseKey) |
| struct Simulators::DistributedGpuApi::MgdDistributionConfig |
Definition at line 25 of file DistributedGpuApi.h.
| Class Members | ||
|---|---|---|
| uint32_t | flags | |
| const int32_t * | global_qubits | |
| uint32_t | num_global_qubits | |
| uint32_t | num_shards | |
| const int32_t * | shard_devices | |
| uint32_t | struct_size | |
| struct Simulators::DistributedGpuApi::MgdExExecutionConfig |
Definition at line 20 of file DistributedGpuApi.h.
| Class Members | ||
|---|---|---|
| uint32_t | max_queued_gates | |
| uint32_t | struct_size | |
| uint64_t | transfer_workspace_bytes | |
| struct Simulators::DistributedGpuApi::MgdMpiCommunicator |
Definition at line 9 of file DistributedGpuApi.h.
| Class Members | ||
|---|---|---|
| int64_t | fortran_handle | |
| uint32_t | reserved | |
| uint32_t | struct_size | |
| struct Simulators::DistributedGpuApi::MgdMpiRuntimeInfo |
Definition at line 14 of file DistributedGpuApi.h.
| Class Members | ||
|---|---|---|
| int32_t | default_device | |
| int32_t | rank | |
| int32_t | size | |
| uint32_t | struct_size | |
| using Simulators::DistributedGpuApi::AllProbabilitiesFn = int (*)(void *obj, double *probabilities) |
Definition at line 77 of file DistributedGpuApi.h.
Definition at line 73 of file DistributedGpuApi.h.
Definition at line 111 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCHFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 100 of file DistributedGpuApi.h.
Definition at line 103 of file DistributedGpuApi.h.
Definition at line 105 of file DistributedGpuApi.h.
Definition at line 107 of file DistributedGpuApi.h.
Definition at line 109 of file DistributedGpuApi.h.
Definition at line 114 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCSXDGFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 102 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCSXFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 101 of file DistributedGpuApi.h.
Definition at line 116 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCXFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 97 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCYFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 98 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyCZFn = int (*)(void *obj, int controlQubit, int targetQubit) |
Definition at line 99 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyHFn = int (*)(void *obj, int qubit) |
Definition at line 83 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyKFn = int (*)(void *obj, int qubit) |
Definition at line 90 of file DistributedGpuApi.h.
Definition at line 147 of file DistributedGpuApi.h.
Definition at line 149 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyPFn = int (*)(void *obj, int qubit, double theta) |
Definition at line 91 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyRxFn = int (*)(void *obj, int qubit, double theta) |
Definition at line 92 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyRyFn = int (*)(void *obj, int qubit, double theta) |
Definition at line 93 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyRzFn = int (*)(void *obj, int qubit, double theta) |
Definition at line 94 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplySDGFn = int (*)(void *obj, int qubit) |
Definition at line 85 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplySFn = int (*)(void *obj, int qubit) |
Definition at line 84 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplySwapFn = int (*)(void *obj, int qubit1, int qubit2) |
Definition at line 113 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplySXDGFn = int (*)(void *obj, int qubit) |
Definition at line 89 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplySXFn = int (*)(void *obj, int qubit) |
Definition at line 88 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyTDGFn = int (*)(void *obj, int qubit) |
Definition at line 87 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyTFn = int (*)(void *obj, int qubit) |
Definition at line 86 of file DistributedGpuApi.h.
Definition at line 152 of file DistributedGpuApi.h.
Definition at line 154 of file DistributedGpuApi.h.
Definition at line 95 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyXFn = int (*)(void *obj, int qubit) |
Definition at line 80 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyYFn = int (*)(void *obj, int qubit) |
Definition at line 81 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ApplyZFn = int (*)(void *obj, int qubit) |
Definition at line 82 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::BasisStateProbabilityFn = double (*)(void *obj, long long int state) |
Definition at line 76 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::CheckLicenseFn = int (*)(void *state) |
Definition at line 36 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::CloneFn = void *(*)(void *obj) |
Definition at line 68 of file DistributedGpuApi.h.
Definition at line 122 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::CreateFn = int (*)(void *obj, unsigned int nrQubits) |
Definition at line 50 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::CreateStateVectorFn = void *(*)(void *lib) |
Definition at line 39 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::CreateStateVectorWithBackendFn = void *(*)(void *lib, int backend) |
Definition at line 40 of file DistributedGpuApi.h.
Definition at line 145 of file DistributedGpuApi.h.
Definition at line 51 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::DestroyStateVectorFn = void (*)(void *obj) |
Definition at line 44 of file DistributedGpuApi.h.
Definition at line 78 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::FreeLibFn = void (*)(void) |
Definition at line 38 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::FreeSavedStateFn = void (*)(void *obj) |
Definition at line 67 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetApiVersionFn = uint32_t (*)(void) |
Definition at line 119 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetBackendFn = int (*)(void *obj) |
Definition at line 41 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetCapabilitiesFn = uint64_t (*)(void) |
Definition at line 120 of file DistributedGpuApi.h.
Definition at line 126 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetGpuDeviceCountFn = int (*)(void) |
Definition at line 34 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetLastErrorFn = const char *(*)(void) |
Definition at line 121 of file DistributedGpuApi.h.
Definition at line 139 of file DistributedGpuApi.h.
Definition at line 141 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetNrQubitsFn = int (*)(void *obj) |
Definition at line 48 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetQubitLayoutFn = int (*)(void *obj, int32_t *wires, uint32_t capacity) |
Definition at line 128 of file DistributedGpuApi.h.
Definition at line 124 of file DistributedGpuApi.h.
Definition at line 135 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::GetStateVectorGpuIdFn = int (*)(void *obj) |
Definition at line 49 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::InitLibFn = void *(*)(void) |
Definition at line 37 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::IsDoublePrecisionFn = int (*)(void *obj) |
Definition at line 47 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::MeasureAllQubitsCollapseFn = unsigned long long (*)(void *obj) |
Definition at line 60 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::MeasureAllQubitsNoCollapseFn = unsigned long long (*)(void *obj) |
Definition at line 61 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::MeasureQubitCollapseFn = int (*)(void *obj, int qubitIndex) |
Definition at line 54 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::MeasureQubitNoCollapseFn = int (*)(void *obj, int qubitIndex) |
Definition at line 55 of file DistributedGpuApi.h.
Definition at line 56 of file DistributedGpuApi.h.
Definition at line 58 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ProbabilityFn = double (*)(void *obj, int *qubits, int *mask, int len) |
Definition at line 75 of file DistributedGpuApi.h.
Definition at line 129 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ResetFn = int (*)(void *obj) |
Definition at line 53 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::RestoreStateFreeSavedFn = int (*)(void *obj) |
Definition at line 65 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::RestoreStateNoFreeSavedFn = int (*)(void *obj) |
Definition at line 66 of file DistributedGpuApi.h.
Definition at line 71 of file DistributedGpuApi.h.
Definition at line 69 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SaveStateDestructiveFn = int (*)(void *obj) |
Definition at line 64 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SaveStateFn = int (*)(void *obj) |
Definition at line 62 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SaveStateToHostFn = int (*)(void *obj) |
Definition at line 63 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SetDataTypeFn = int (*)(void *obj, int useDoublePrecision) |
Definition at line 45 of file DistributedGpuApi.h.
Definition at line 42 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SetGpuDeviceFn = int (*)(int deviceId) |
Definition at line 33 of file DistributedGpuApi.h.
Definition at line 143 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SetSeedFn = int (*)(void *obj, unsigned long long seed) |
Definition at line 46 of file DistributedGpuApi.h.
Definition at line 137 of file DistributedGpuApi.h.
Definition at line 131 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::SynchronizeFn = int (*)(void *obj) |
Definition at line 134 of file DistributedGpuApi.h.
| using Simulators::DistributedGpuApi::ValidateLicenseFn = int (*)(const char *licenseKey) |
Definition at line 35 of file DistributedGpuApi.h.