|
Maestro 0.2.5
Unified interface for quantum circuit simulation
|
#include <QuestLibSim.h>
Inheritance diagram for Simulators::QuestLibSim:
Collaboration diagram for Simulators::QuestLibSim:Public Member Functions | |
| QuestLibSim () noexcept | |
| QuestLibSim (const QuestLibSim &)=delete | |
| QuestLibSim (QuestLibSim &&)=default | |
| virtual | ~QuestLibSim () |
| void | ApplyCCX (void *sim, int control1, int control2, int target) |
| void | ApplyCH (void *sim, int control, int target) |
| void | ApplyCP (void *sim, int control, int target, double angle) |
| void | ApplyCRx (void *sim, int control, int target, double angle) |
| void | ApplyCRy (void *sim, int control, int target, double angle) |
| void | ApplyCRz (void *sim, int control, int target, double angle) |
| void | ApplyCS (void *sim, int control, int target) |
| void | ApplyCSwap (void *sim, int control, int qubit1, int qubit2) |
| void | ApplyCSx (void *sim, int control, int target) |
| void | ApplyCSxDg (void *sim, int control, int target) |
| void | ApplyCT (void *sim, int control, int target) |
| void | ApplyCU (void *sim, int control, int target, double theta, double phi, double lambda, double gamma) |
| void | ApplyCX (void *sim, int control, int target) |
| void | ApplyCY (void *sim, int control, int target) |
| void | ApplyCZ (void *sim, int control, int target) |
| void | ApplyH (void *sim, int qubit) |
| void | ApplyK (void *sim, int qubit) |
| void | ApplyP (void *sim, int qubit, double angle) |
| void | ApplyRx (void *sim, int qubit, double angle) |
| void | ApplyRy (void *sim, int qubit, double angle) |
| void | ApplyRz (void *sim, int qubit, double angle) |
| void | ApplyS (void *sim, int qubit) |
| void | ApplySdg (void *sim, int qubit) |
| void | ApplySwap (void *sim, int qubit1, int qubit2) |
| void | ApplySx (void *sim, int qubit) |
| void | ApplySxDg (void *sim, int qubit) |
| void | ApplyT (void *sim, int qubit) |
| void | ApplyTdg (void *sim, int qubit) |
| void | ApplyU (void *sim, int qubit, double theta, double phi, double lambda, double gamma) |
| void | ApplyX (void *sim, int qubit) |
| void | ApplyY (void *sim, int qubit) |
| void | ApplyZ (void *sim, int qubit) |
| unsigned long int | CloneSimulator (void *sim) |
| unsigned long int | CreateSimulator (int nrQubits) |
| void | DestroySimulator (unsigned long int simHandle) |
| bool | GetAmplitude (void *sim, long long int index, std::complex< double > &litude) const |
| bool | GetAmplitudes (void *sim, std::vector< std::complex< double > > &litudes) const |
| double | GetExpectationValue (void *sim, const char *pauliStr) const |
| void * | GetFunction (const char *funcName) noexcept |
| const void * | GetHandle () const noexcept |
| int | GetNumQubits (void *sim) const |
| double | GetOutcomeProbability (void *sim, long long int outcome) const |
| double | GetQubitProbability0 (void *sim, int qubit) const |
| double | GetQubitProbability1 (void *sim, int qubit) const |
| void * | GetSimulator (unsigned long int simHandle) |
| bool | Init (const char *libName) noexcept override |
| bool | IsDoublePrecision () const |
| bool | IsMuted () const noexcept |
| bool | IsValid () const |
| int | Measure (void *sim, int qubit) |
| long long int | MeasureQubits (void *sim, int *qubits, int numQubits) |
| QuestLibSim & | operator= (const QuestLibSim &)=delete |
| QuestLibSim & | operator= (QuestLibSim &&)=default |
| void | SetMute (bool m) noexcept |
Static Public Member Functions | |
| static void | CheckFunction (void *func, int line) noexcept |
Definition at line 24 of file QuestLibSim.h.
|
delete |
|
default |
|
inlinenoexcept |
Definition at line 32 of file QuestLibSim.h.
|
inlinevirtual |
Definition at line 34 of file QuestLibSim.h.
|
inline |
Definition at line 525 of file QuestLibSim.h.
|
inline |
Definition at line 431 of file QuestLibSim.h.
|
inline |
Definition at line 487 of file QuestLibSim.h.
|
inline |
Definition at line 466 of file QuestLibSim.h.
|
inline |
Definition at line 473 of file QuestLibSim.h.
|
inline |
Definition at line 480 of file QuestLibSim.h.
|
inline |
Definition at line 417 of file QuestLibSim.h.
|
inline |
Definition at line 518 of file QuestLibSim.h.
|
inline |
Definition at line 502 of file QuestLibSim.h.
|
inline |
Definition at line 509 of file QuestLibSim.h.
|
inline |
Definition at line 424 of file QuestLibSim.h.
|
inline |
Definition at line 494 of file QuestLibSim.h.
|
inline |
Definition at line 445 of file QuestLibSim.h.
|
inline |
Definition at line 452 of file QuestLibSim.h.
|
inline |
Definition at line 459 of file QuestLibSim.h.
|
inline |
Definition at line 328 of file QuestLibSim.h.
|
inline |
Definition at line 377 of file QuestLibSim.h.
|
inline |
Definition at line 300 of file QuestLibSim.h.
|
inline |
Definition at line 386 of file QuestLibSim.h.
|
inline |
Definition at line 393 of file QuestLibSim.h.
|
inline |
Definition at line 400 of file QuestLibSim.h.
|
inline |
Definition at line 335 of file QuestLibSim.h.
|
inline |
Definition at line 349 of file QuestLibSim.h.
|
inline |
Definition at line 438 of file QuestLibSim.h.
|
inline |
Definition at line 363 of file QuestLibSim.h.
|
inline |
Definition at line 370 of file QuestLibSim.h.
|
inline |
Definition at line 342 of file QuestLibSim.h.
|
inline |
Definition at line 356 of file QuestLibSim.h.
|
inline |
Definition at line 407 of file QuestLibSim.h.
|
inline |
Definition at line 307 of file QuestLibSim.h.
|
inline |
Definition at line 314 of file QuestLibSim.h.
|
inline |
Definition at line 321 of file QuestLibSim.h.
|
inlinestaticnoexcept |
Definition at line 174 of file QuestLibSim.h.
Referenced by Init().
|
inline |
Definition at line 210 of file QuestLibSim.h.
|
inline |
Definition at line 194 of file QuestLibSim.h.
|
inline |
Definition at line 203 of file QuestLibSim.h.
|
inline |
Definition at line 560 of file QuestLibSim.h.
References IsDoublePrecision().
|
inline |
Definition at line 534 of file QuestLibSim.h.
References IsDoublePrecision().
|
inline |
Definition at line 269 of file QuestLibSim.h.
|
inlinenoexceptinherited |
Definition at line 104 of file Library.h.
Referenced by MaestroLibrary::Init(), and Init().
|
inlinenoexceptinherited |
|
inline |
Definition at line 230 of file QuestLibSim.h.
|
inline |
Definition at line 259 of file QuestLibSim.h.
|
inline |
Definition at line 239 of file QuestLibSim.h.
|
inline |
Definition at line 249 of file QuestLibSim.h.
|
inline |
Definition at line 219 of file QuestLibSim.h.
|
inlineoverridevirtualnoexcept |
Reimplemented from Utils::Library.
Definition at line 41 of file QuestLibSim.h.
References CheckFunction(), Utils::Library::GetFunction(), and Utils::Library::Init().
|
inline |
Definition at line 581 of file QuestLibSim.h.
Referenced by GetAmplitude(), and GetAmplitudes().
|
inlinenoexceptinherited |
|
inline |
Definition at line 190 of file QuestLibSim.h.
|
inline |
Definition at line 280 of file QuestLibSim.h.
|
inline |
Definition at line 289 of file QuestLibSim.h.
|
delete |
|
default |
|
inlinenoexceptinherited |