Skip to content

Commit bfa1fc4

Browse files
xumingkuancaoshiyijiazhihao
authored
[Simulator] Separate CUDA/Legion-related parts out of Quartz (quantum-compiler#127)
* Sharemem (quantum-compiler#79) * [simulator][kernel] integrate sharedmem single-qubit kernel from HyQuas * pre-commit * [DistributedSimulator] fix bugs for distributed_simulator.cu * [DistributedSimulator] update * add CMakeLists * [simulator][legion] to be tested * [simulator][legion] fix compilation error * [simulator][legion]missing instance error; need to set argmap for GATE Compute task * [Mapper] fix an assertion failure in map_copy * [simulator] add option to choose backend; fix some errors for legion-based simulator * [Mapper] fix legion warning 1015 * [simulator][shm] add support for per-device schedule; to be tested * [simulator][shuffle] refactor shuffle; record device logical <-> physical mapping * [shuffle] refactor shuffle * [simulator] add two device map for reverse lookup * [simulator] fix compilation error * [simulator] fix some typo; SHM kernels do not support non-controlled multi-qubits gates * [simulator][legion] correctly pass fusion keernel info to the task; [mpi]disable cuQuantum internode comm * [simulator]to be tested: add support for global/local cx, cp, cz... fusion execution * [simulator][mpi] fix compilation error * [simulator]fix some bugs in circuit.compile() * [simulator] make the init perm = local_qubits[0] * [simulator]fix comm mask calculation in shuffle function * [simulator] fix some bugs for shm method * [simulator][shm] fix a bug in shm method * [simulator] fix bug in circuit.simulate() * [simulator] add some circuits * [simulator] add all2all check * [simulator] add more circuits * [simulator] initial impl for offload + shuffle * [simulator][legion] fix compilation error * [simulation] Bug fixes about executing gates in the DP (quantum-compiler#102) * [simulation] Some useful debug info * Revert the debug outputs * Code format * Code format * [simulation] Sort the qubits in ILP (quantum-compiler#103) * [simulation] Consider the cost of attaching single-qubit gates (quantum-compiler#104) * [simulator] Use general controlled gates in simulation schedule and fix a bug (quantum-compiler#106) * Add GeneralControlledGate and Context::get_general_controlled_gate() * Add Gate::get_control_state() * Apply general controlled gates to DP and fix a bug * Code format * Use std::all_of instead of std::find * [legion] single-device 28-qubits dj tested (no shm) (quantum-compiler#107) * [simulator] add result dump; TODO: global X, general control * [simulator] adding statecheck kernel; qft-28 single device correctness checked * [simulation] Add circuits and an ILP benchmark (quantum-compiler#108) * [simulation] Update ILP benchmark * [QASM] Add CircuitSeq::to_qasm_file() (quantum-compiler#109) * [simulation] Fix a bug which may have caused multi-qubit gates to be attached (quantum-compiler#111) * [simulation] Fix a bug of incorrect cross-stage attaches (quantum-compiler#112) * [simulator][mpi] version for evaluation * [simulation] Fix floating-point error in ILP (quantum-compiler#113) * [simulation] Remove empty kernels and schedules (quantum-compiler#114) * [simulation] Remove empty kernels and schedules * fix typo and suppress extra warnings * [simulator][legion] evaluated version for scalability test * [simulator][mpi] modify sbatch scripts * Remove extra circuits * Remove sim directory * Restore 28-qubit circuits * Remove Legion submodule * Restore all circuits * Delete config files for simulator * Fix compilation error * Try adding src_paths * Try editing .pre-commit-config.yaml * Try using config/config.py * Format Python files --------- Co-authored-by: shiyi.c_98 <[email protected]> Co-authored-by: Zhihao Jia <[email protected]>
1 parent 5c07e8b commit bfa1fc4

File tree

141 files changed

+50555
-4071
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+50555
-4071
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
[submodule "external/HiGHS"]
22
path = external/HiGHS
33
url = https://github.com/ERGO-Code/HiGHS.git
4-
[submodule "external/legion"]
5-
path = external/legion
6-
url = https://gitlab.com/StanfordLegion/legion.git

CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,3 @@ install (DIRECTORY ${PROJECT_SOURCE_DIR}/src/quartz/
138138

139139
add_subdirectory(src/test)
140140
add_subdirectory(src/benchmark)
141-
142-
if(QUARTZ_USE_SIMULATOR)
143-
add_subdirectory(src/sim)
144-
endif()

0 commit comments

Comments
 (0)