spin-pulse 1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. spin_pulse-1.0/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  2. spin_pulse-1.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. spin_pulse-1.0/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +15 -0
  4. spin_pulse-1.0/.github/workflows/docs.yml +52 -0
  5. spin_pulse-1.0/.github/workflows/push-update.yml +33 -0
  6. spin_pulse-1.0/.github/workflows/test.yml +75 -0
  7. spin_pulse-1.0/.gitignore +87 -0
  8. spin_pulse-1.0/LICENCE.txt +177 -0
  9. spin_pulse-1.0/PKG-INFO +78 -0
  10. spin_pulse-1.0/README.md +43 -0
  11. spin_pulse-1.0/assets/SpinPulse.png +0 -0
  12. spin_pulse-1.0/docs/Makefile +20 -0
  13. spin_pulse-1.0/docs/make.bat +35 -0
  14. spin_pulse-1.0/docs/source/_static/SpinPulse.png +0 -0
  15. spin_pulse-1.0/docs/source/_static/Symbole Quobly couleur.png +0 -0
  16. spin_pulse-1.0/docs/source/_static/custom.css +89 -0
  17. spin_pulse-1.0/docs/source/_static/img-spin qubit1.png +0 -0
  18. spin_pulse-1.0/docs/source/_static/img-spin qubit2.png +0 -0
  19. spin_pulse-1.0/docs/source/_static/logo1.png +0 -0
  20. spin_pulse-1.0/docs/source/_static/visuel-quobly-vitro.png +0 -0
  21. spin_pulse-1.0/docs/source/_templates/autoapi/python/module.rst +195 -0
  22. spin_pulse-1.0/docs/source/autoapi/spin_pulse/characterization/average_superop/index.rst +103 -0
  23. spin_pulse-1.0/docs/source/autoapi/spin_pulse/characterization/index.rst +22 -0
  24. spin_pulse-1.0/docs/source/autoapi/spin_pulse/characterization/ramsey/index.rst +95 -0
  25. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/experimental_environment/index.rst +170 -0
  26. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/index.rst +36 -0
  27. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/noise/index.rst +444 -0
  28. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/noise/noise_time_trace/index.rst +121 -0
  29. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/noise/pink/index.rst +187 -0
  30. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/noise/quasistatic/index.rst +99 -0
  31. spin_pulse-1.0/docs/source/autoapi/spin_pulse/environment/noise/white/index.rst +107 -0
  32. spin_pulse-1.0/docs/source/autoapi/spin_pulse/index.rst +841 -0
  33. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/dynamical_decoupling/index.rst +54 -0
  34. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/hardware_specs/index.rst +193 -0
  35. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/index.rst +58 -0
  36. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/instructions/idle/index.rst +124 -0
  37. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/instructions/index.rst +703 -0
  38. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/instructions/pulse_instruction/index.rst +83 -0
  39. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/instructions/rotations/index.rst +523 -0
  40. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/passes/index.rst +20 -0
  41. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/passes/rzz_echo/index.rst +53 -0
  42. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/pulse_circuit/index.rst +435 -0
  43. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/pulse_layer/index.rst +229 -0
  44. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/pulse_sequence/index.rst +245 -0
  45. spin_pulse-1.0/docs/source/autoapi/spin_pulse/transpilation/utils/index.rst +143 -0
  46. spin_pulse-1.0/docs/source/autoapi/spin_pulse/version/index.rst +21 -0
  47. spin_pulse-1.0/docs/source/conf.py +127 -0
  48. spin_pulse-1.0/docs/source/customapi/figures/global_fig.pdf +0 -0
  49. spin_pulse-1.0/docs/source/customapi/figures/global_fig.png +0 -0
  50. spin_pulse-1.0/docs/source/customapi/figures/global_fig.svg +5311 -0
  51. spin_pulse-1.0/docs/source/customapi/installation/index.md +59 -0
  52. spin_pulse-1.0/docs/source/customapi/tutorials/AverageSuperoperatorsNoisyGates.ipynb +1111 -0
  53. spin_pulse-1.0/docs/source/customapi/tutorials/BasicUsage.ipynb +605 -0
  54. spin_pulse-1.0/docs/source/customapi/tutorials/BernsteinVazirani.ipynb +488 -0
  55. spin_pulse-1.0/docs/source/customapi/tutorials/ParametrizingfromQPUSpecs.ipynb +557 -0
  56. spin_pulse-1.0/docs/source/customapi/tutorials/QuimbSimulation.ipynb +781 -0
  57. spin_pulse-1.0/docs/source/customapi/tutorials/RamseySpinEcho.ipynb +554 -0
  58. spin_pulse-1.0/docs/source/customapi/tutorials/TimeTracesExamples.ipynb +354 -0
  59. spin_pulse-1.0/docs/source/customapi/tutorials/index_simple.md +41 -0
  60. spin_pulse-1.0/docs/source/customapi/tutorials/output2.svg +899 -0
  61. spin_pulse-1.0/docs/source/customapi/tutorials/output4.svg +1020 -0
  62. spin_pulse-1.0/docs/source/index.md +117 -0
  63. spin_pulse-1.0/examples/AverageSuperoperatorsNoisyGates.py +451 -0
  64. spin_pulse-1.0/examples/BasicUsage.py +218 -0
  65. spin_pulse-1.0/examples/BernsteinVazirani.py +245 -0
  66. spin_pulse-1.0/examples/ParametrizingfromQPUSpecs.py +222 -0
  67. spin_pulse-1.0/examples/QuimbSimulation.py +231 -0
  68. spin_pulse-1.0/examples/RamseySpinEcho.py +180 -0
  69. spin_pulse-1.0/examples/TimeTracesExamples.py +137 -0
  70. spin_pulse-1.0/junit.xml +1 -0
  71. spin_pulse-1.0/pyproject.toml +210 -0
  72. spin_pulse-1.0/quoblygatemodel-main/.gitignore +87 -0
  73. spin_pulse-1.0/quoblygatemodel-main/.gitlab/cmd_jupyter +7 -0
  74. spin_pulse-1.0/quoblygatemodel-main/.gitlab/docs-ci.yml +18 -0
  75. spin_pulse-1.0/quoblygatemodel-main/.gitlab/docs-pages.yml +12 -0
  76. spin_pulse-1.0/quoblygatemodel-main/.gitlab/jupyter-test-ci.yml +31 -0
  77. spin_pulse-1.0/quoblygatemodel-main/.gitlab/lint-ci.yml +26 -0
  78. spin_pulse-1.0/quoblygatemodel-main/.gitlab/release-ci.yml +11 -0
  79. spin_pulse-1.0/quoblygatemodel-main/.gitlab/tests-ci.yml +59 -0
  80. spin_pulse-1.0/quoblygatemodel-main/.gitlab-ci.yml +24 -0
  81. spin_pulse-1.0/quoblygatemodel-main/.pre-commit-config.yaml +33 -0
  82. spin_pulse-1.0/quoblygatemodel-main/LICENCE.txt +177 -0
  83. spin_pulse-1.0/quoblygatemodel-main/README.md +43 -0
  84. spin_pulse-1.0/quoblygatemodel-main/assets/SpinPulse.png +0 -0
  85. spin_pulse-1.0/quoblygatemodel-main/docs/Makefile +20 -0
  86. spin_pulse-1.0/quoblygatemodel-main/docs/make.bat +35 -0
  87. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/SpinPulse.png +0 -0
  88. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/Symbole Quobly couleur.png +0 -0
  89. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/img-spin qubit1.png +0 -0
  90. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/img-spin qubit2.png +0 -0
  91. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/logo1.png +0 -0
  92. spin_pulse-1.0/quoblygatemodel-main/docs/source/_static/visuel-quobly-vitro.png +0 -0
  93. spin_pulse-1.0/quoblygatemodel-main/docs/source/_templates/autoapi/python/module.rst +195 -0
  94. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/characterization/average_superop/index.rst +103 -0
  95. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/characterization/index.rst +22 -0
  96. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/characterization/ramsey/index.rst +95 -0
  97. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/experimental_environment/index.rst +170 -0
  98. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/index.rst +36 -0
  99. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/noise/index.rst +444 -0
  100. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/noise/noise_time_trace/index.rst +121 -0
  101. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/noise/pink/index.rst +187 -0
  102. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/noise/quasistatic/index.rst +99 -0
  103. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/environment/noise/white/index.rst +107 -0
  104. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/index.rst +841 -0
  105. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/dynamical_decoupling/index.rst +54 -0
  106. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/hardware_specs/index.rst +193 -0
  107. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/index.rst +58 -0
  108. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/instructions/idle/index.rst +124 -0
  109. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/instructions/index.rst +703 -0
  110. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/instructions/pulse_instruction/index.rst +83 -0
  111. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/instructions/rotations/index.rst +523 -0
  112. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/passes/index.rst +20 -0
  113. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/passes/rzz_echo/index.rst +53 -0
  114. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/pulse_circuit/index.rst +435 -0
  115. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/pulse_layer/index.rst +229 -0
  116. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/pulse_sequence/index.rst +245 -0
  117. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/transpilation/utils/index.rst +143 -0
  118. spin_pulse-1.0/quoblygatemodel-main/docs/source/autoapi/spin_pulse/version/index.rst +21 -0
  119. spin_pulse-1.0/quoblygatemodel-main/docs/source/conf.py +127 -0
  120. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/figures/global_fig.pdf +0 -0
  121. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/figures/global_fig.png +0 -0
  122. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/figures/global_fig.svg +5311 -0
  123. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/installation/index.md +59 -0
  124. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/AverageSuperoperatorsNoisyGates.ipynb +1111 -0
  125. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/BasicUsage.ipynb +605 -0
  126. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/BernsteinVazirani.ipynb +488 -0
  127. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/ParametrizingfromQPUSpecs.ipynb +557 -0
  128. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/QuimbSimulation.ipynb +781 -0
  129. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/RamseySpinEcho.ipynb +554 -0
  130. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/TimeTracesExamples.ipynb +354 -0
  131. spin_pulse-1.0/quoblygatemodel-main/docs/source/customapi/tutorials/index_simple.md +41 -0
  132. spin_pulse-1.0/quoblygatemodel-main/docs/source/index.md +117 -0
  133. spin_pulse-1.0/quoblygatemodel-main/examples/AverageSuperoperatorsNoisyGates.py +451 -0
  134. spin_pulse-1.0/quoblygatemodel-main/examples/BasicUsage.py +218 -0
  135. spin_pulse-1.0/quoblygatemodel-main/examples/BernsteinVazirani.py +245 -0
  136. spin_pulse-1.0/quoblygatemodel-main/examples/ParametrizingfromQPUSpecs.py +222 -0
  137. spin_pulse-1.0/quoblygatemodel-main/examples/QuimbSimulation.py +231 -0
  138. spin_pulse-1.0/quoblygatemodel-main/examples/RamseySpinEcho.py +180 -0
  139. spin_pulse-1.0/quoblygatemodel-main/examples/TimeTracesExamples.py +137 -0
  140. spin_pulse-1.0/quoblygatemodel-main/junit.xml +1 -0
  141. spin_pulse-1.0/quoblygatemodel-main/pyproject.toml +210 -0
  142. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/__init__.py +41 -0
  143. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/characterization/__init__.py +16 -0
  144. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/characterization/average_superop.py +219 -0
  145. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/characterization/ramsey.py +120 -0
  146. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/__init__.py +23 -0
  147. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/experimental_environment.py +158 -0
  148. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/noise/__init__.py +32 -0
  149. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/noise/noise_time_trace.py +115 -0
  150. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/noise/pink.py +197 -0
  151. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/noise/quasistatic.py +94 -0
  152. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/environment/noise/white.py +91 -0
  153. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/__init__.py +39 -0
  154. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/dynamical_decoupling.py +35 -0
  155. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/hardware_specs.py +196 -0
  156. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/instructions/__init__.py +30 -0
  157. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/instructions/idle.py +166 -0
  158. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/instructions/pulse_instruction.py +49 -0
  159. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/instructions/rotations.py +583 -0
  160. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/passes/__init__.py +14 -0
  161. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/passes/rzz_echo.py +74 -0
  162. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/pulse_circuit.py +693 -0
  163. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/pulse_layer.py +256 -0
  164. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/pulse_sequence.py +280 -0
  165. spin_pulse-1.0/quoblygatemodel-main/src/spin_pulse/transpilation/utils.py +254 -0
  166. spin_pulse-1.0/quoblygatemodel-main/tests/__init__.py +4 -0
  167. spin_pulse-1.0/quoblygatemodel-main/tests/complex/__init__.py +0 -0
  168. spin_pulse-1.0/quoblygatemodel-main/tests/complex/test_numerical_integration.py +167 -0
  169. spin_pulse-1.0/quoblygatemodel-main/tests/complex/test_transpilation.py +173 -0
  170. spin_pulse-1.0/quoblygatemodel-main/tests/conftest.py +17 -0
  171. spin_pulse-1.0/quoblygatemodel-main/tests/fixtures/__init__.py +4 -0
  172. spin_pulse-1.0/quoblygatemodel-main/tests/fixtures/dummy_objects.py +266 -0
  173. spin_pulse-1.0/quoblygatemodel-main/tests/fixtures/pulse_circuit_fixtures.py +49 -0
  174. spin_pulse-1.0/quoblygatemodel-main/tests/fixtures/utils_fixtures.py +61 -0
  175. spin_pulse-1.0/quoblygatemodel-main/tests/test_average_channel.py +121 -0
  176. spin_pulse-1.0/quoblygatemodel-main/tests/test_coherent_noise.py +68 -0
  177. spin_pulse-1.0/quoblygatemodel-main/tests/test_experimental_environement.py +132 -0
  178. spin_pulse-1.0/quoblygatemodel-main/tests/test_hardware_specs.py +161 -0
  179. spin_pulse-1.0/quoblygatemodel-main/tests/test_idle_instruction.py +222 -0
  180. spin_pulse-1.0/quoblygatemodel-main/tests/test_noise_time_trace.py +33 -0
  181. spin_pulse-1.0/quoblygatemodel-main/tests/test_pink_noise.py +66 -0
  182. spin_pulse-1.0/quoblygatemodel-main/tests/test_propagate.py +57 -0
  183. spin_pulse-1.0/quoblygatemodel-main/tests/test_pulse_circuit.py +497 -0
  184. spin_pulse-1.0/quoblygatemodel-main/tests/test_pulse_layer.py +145 -0
  185. spin_pulse-1.0/quoblygatemodel-main/tests/test_pulse_sequence.py +302 -0
  186. spin_pulse-1.0/quoblygatemodel-main/tests/test_ramsey.py +221 -0
  187. spin_pulse-1.0/quoblygatemodel-main/tests/test_rotation_instructions.py +440 -0
  188. spin_pulse-1.0/quoblygatemodel-main/tests/test_seeded_circuit.py +174 -0
  189. spin_pulse-1.0/quoblygatemodel-main/tests/test_utils.py +172 -0
  190. spin_pulse-1.0/quoblygatemodel-main/tests/test_white_noise.py +69 -0
  191. spin_pulse-1.0/quoblygatemodel-main/uv.lock +4554 -0
  192. spin_pulse-1.0/quoblygatemodel-main (1).zip +0 -0
  193. spin_pulse-1.0/setup.cfg +4 -0
  194. spin_pulse-1.0/src/spin_pulse/__init__.py +41 -0
  195. spin_pulse-1.0/src/spin_pulse/characterization/__init__.py +16 -0
  196. spin_pulse-1.0/src/spin_pulse/characterization/average_superop.py +219 -0
  197. spin_pulse-1.0/src/spin_pulse/characterization/ramsey.py +120 -0
  198. spin_pulse-1.0/src/spin_pulse/environment/__init__.py +23 -0
  199. spin_pulse-1.0/src/spin_pulse/environment/experimental_environment.py +158 -0
  200. spin_pulse-1.0/src/spin_pulse/environment/noise/__init__.py +32 -0
  201. spin_pulse-1.0/src/spin_pulse/environment/noise/noise_time_trace.py +115 -0
  202. spin_pulse-1.0/src/spin_pulse/environment/noise/pink.py +197 -0
  203. spin_pulse-1.0/src/spin_pulse/environment/noise/quasistatic.py +94 -0
  204. spin_pulse-1.0/src/spin_pulse/environment/noise/white.py +91 -0
  205. spin_pulse-1.0/src/spin_pulse/transpilation/__init__.py +39 -0
  206. spin_pulse-1.0/src/spin_pulse/transpilation/dynamical_decoupling.py +35 -0
  207. spin_pulse-1.0/src/spin_pulse/transpilation/hardware_specs.py +196 -0
  208. spin_pulse-1.0/src/spin_pulse/transpilation/instructions/__init__.py +30 -0
  209. spin_pulse-1.0/src/spin_pulse/transpilation/instructions/idle.py +166 -0
  210. spin_pulse-1.0/src/spin_pulse/transpilation/instructions/pulse_instruction.py +49 -0
  211. spin_pulse-1.0/src/spin_pulse/transpilation/instructions/rotations.py +583 -0
  212. spin_pulse-1.0/src/spin_pulse/transpilation/passes/__init__.py +14 -0
  213. spin_pulse-1.0/src/spin_pulse/transpilation/passes/rzz_echo.py +74 -0
  214. spin_pulse-1.0/src/spin_pulse/transpilation/pulse_circuit.py +693 -0
  215. spin_pulse-1.0/src/spin_pulse/transpilation/pulse_layer.py +256 -0
  216. spin_pulse-1.0/src/spin_pulse/transpilation/pulse_sequence.py +280 -0
  217. spin_pulse-1.0/src/spin_pulse/transpilation/utils.py +254 -0
  218. spin_pulse-1.0/src/spin_pulse/version.py +38 -0
  219. spin_pulse-1.0/src/spin_pulse.egg-info/PKG-INFO +78 -0
  220. spin_pulse-1.0/src/spin_pulse.egg-info/SOURCES.txt +247 -0
  221. spin_pulse-1.0/src/spin_pulse.egg-info/dependency_links.txt +1 -0
  222. spin_pulse-1.0/src/spin_pulse.egg-info/requires.txt +14 -0
  223. spin_pulse-1.0/src/spin_pulse.egg-info/top_level.txt +1 -0
  224. spin_pulse-1.0/tests/__init__.py +4 -0
  225. spin_pulse-1.0/tests/complex/__init__.py +0 -0
  226. spin_pulse-1.0/tests/complex/test_numerical_integration.py +167 -0
  227. spin_pulse-1.0/tests/complex/test_transpilation.py +173 -0
  228. spin_pulse-1.0/tests/conftest.py +17 -0
  229. spin_pulse-1.0/tests/fixtures/__init__.py +4 -0
  230. spin_pulse-1.0/tests/fixtures/dummy_objects.py +266 -0
  231. spin_pulse-1.0/tests/fixtures/pulse_circuit_fixtures.py +49 -0
  232. spin_pulse-1.0/tests/fixtures/utils_fixtures.py +61 -0
  233. spin_pulse-1.0/tests/test_average_channel.py +121 -0
  234. spin_pulse-1.0/tests/test_coherent_noise.py +68 -0
  235. spin_pulse-1.0/tests/test_experimental_environement.py +132 -0
  236. spin_pulse-1.0/tests/test_hardware_specs.py +161 -0
  237. spin_pulse-1.0/tests/test_idle_instruction.py +222 -0
  238. spin_pulse-1.0/tests/test_noise_time_trace.py +33 -0
  239. spin_pulse-1.0/tests/test_pink_noise.py +66 -0
  240. spin_pulse-1.0/tests/test_propagate.py +57 -0
  241. spin_pulse-1.0/tests/test_pulse_circuit.py +497 -0
  242. spin_pulse-1.0/tests/test_pulse_layer.py +145 -0
  243. spin_pulse-1.0/tests/test_pulse_sequence.py +302 -0
  244. spin_pulse-1.0/tests/test_ramsey.py +221 -0
  245. spin_pulse-1.0/tests/test_rotation_instructions.py +440 -0
  246. spin_pulse-1.0/tests/test_seeded_circuit.py +174 -0
  247. spin_pulse-1.0/tests/test_utils.py +172 -0
  248. spin_pulse-1.0/tests/test_white_noise.py +69 -0
  249. spin_pulse-1.0/uv.lock +4554 -0
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,15 @@
1
+ # Description of the PR
2
+
3
+ Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
4
+
5
+ Fixes # (issue)
6
+
7
+ ## Type of change
8
+
9
+ Please delete options that are not relevant.
10
+
11
+ - [ ] Bug fix (non-breaking change which fixes an issue)
12
+ - [ ] New feature (non-breaking change which adds functionality)
13
+ - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14
+ - [ ] This change requires a documentation update
15
+ - [ ] This change requires a notebook update
@@ -0,0 +1,52 @@
1
+ name: Build & deploy spinx
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+
12
+ permissions:
13
+ pages: write
14
+ id-token: write
15
+
16
+ environment:
17
+ name: github-pages
18
+ url: ${{ steps.deployment.outputs.page_url }}
19
+
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v4
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: '3.12'
28
+
29
+ - name: Install dependencies
30
+ run: |
31
+ git fetch --prune --unshallow
32
+ pip install uv
33
+ uv venv
34
+ source .venv/bin/activate
35
+ uv pip install . --group docs
36
+ uv run sphinx-build docs/source docs/docs_output -W -b html
37
+
38
+ - name: Verify Sphinx output
39
+ run: |
40
+ echo "Contents of docs/docs_output:"
41
+ ls -la docs/docs_output
42
+ test -f docs/docs_output/index.html
43
+
44
+ - name: Upload static files as artifact
45
+ id: artifact
46
+ uses: actions/upload-pages-artifact@v3
47
+ with:
48
+ path: docs/docs_output/
49
+
50
+ - name: Deploy to GitHub Pages
51
+ id: deployment
52
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,33 @@
1
+ name: Publish to Test PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.13"
18
+
19
+ - name: Install build tools
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install build twine
23
+
24
+ - name: Build package
25
+ run: |
26
+ python -m build
27
+
28
+ - name: Publish to Test PyPI
29
+ env:
30
+ TWINE_USERNAME: __token__
31
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
32
+ run: |
33
+ twine upload dist/*
@@ -0,0 +1,75 @@
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name: CI
4
+
5
+ # Controls when the workflow will run
6
+ on:
7
+ # Triggers the workflow on push or pull request events but only for the "main" branch
8
+ push:
9
+ branches: [ "main" ]
10
+ pull_request:
11
+ branches: [ "main" ]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch:
15
+
16
+ jobs:
17
+ lint:
18
+ # The type of runner that the job will run on
19
+ runs-on: ubuntu-latest
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+
24
+ - name: linting
25
+ run: |
26
+ pip install ruff
27
+ ruff format src tests --check
28
+
29
+ - name: formatting
30
+ run: |
31
+ pip install ruff
32
+ ruff format src tests --check
33
+
34
+ - name: typing
35
+ run: |
36
+ pip install uv
37
+ uv venv
38
+ source .venv/bin/activate
39
+ uv pip install . --group lint
40
+ mypy src
41
+
42
+ echo Add other actions to build,
43
+ echo test, and deploy your project.
44
+
45
+ tests:
46
+
47
+ runs-on: ubuntu-latest
48
+ strategy:
49
+ matrix:
50
+ python-version: ["3.11", "3.12", "3.13"]
51
+
52
+ steps:
53
+ - uses: actions/checkout@v4
54
+
55
+ - name: Set up Python ${{ matrix.python-version }}
56
+ uses: actions/setup-python@v5
57
+ with:
58
+ python-version: ${{ matrix.python-version }}
59
+
60
+ - name: tests
61
+ run: |
62
+ git fetch --prune --unshallow
63
+ pip install uv
64
+ pip install pytest-mock
65
+ pip install pytest pytest-cov
66
+ uv venv
67
+ source .venv/bin/activate
68
+ uv pip install -e . --group test
69
+ pytest tests --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml
70
+
71
+ - name: Upload pytest test results
72
+ uses: actions/upload-artifact@v4
73
+ with:
74
+ name: pytest-results-${{ matrix.python-version }}
75
+ path: junit/test-results-${{ matrix.python-version }}.xml
@@ -0,0 +1,87 @@
1
+ # Fichiers Python compilés
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.so
5
+
6
+ # Auto generated version file
7
+ */spin_pulse/version.py
8
+
9
+
10
+ # Fichiers d'exécution temporaires
11
+ *.log
12
+ *.out
13
+ *.tmp
14
+ *.bak
15
+
16
+ # Environnement virtuel
17
+ env/
18
+ venv/
19
+ .venv/
20
+ .envrc
21
+ requirement.txt
22
+
23
+ # Jupyter Notebook checkpoints + files
24
+ .ipynb_checkpoints/
25
+
26
+ # pytest file
27
+ .coverage
28
+
29
+ # Fichiers IDE
30
+ .vscode/
31
+ .idea/
32
+ *.swp
33
+
34
+ # Fichiers système
35
+ .DS_Store
36
+ Thumbs.db
37
+
38
+ # Dossiers de build
39
+ build/
40
+ dist/
41
+ *.egg-info/
42
+
43
+ # Configuration personnelle
44
+ *.env
45
+ .env.*
46
+
47
+ # API doc files
48
+ *.pickle
49
+ *.doctree
50
+ *.html
51
+ *.inv
52
+ *.css
53
+ *.mo
54
+ *.po
55
+ *.map
56
+ *.ttf
57
+ *.woff2
58
+
59
+ # LaTeX temporary files
60
+ *.aux
61
+ *.log
62
+ *.toc
63
+ *.fls
64
+
65
+ # PDF output - usually a bad idea to keep this in Git
66
+ #main.pdf
67
+
68
+ # Latexmk
69
+ *.fdb_latexmk
70
+
71
+ # SyncTeX
72
+ *.synctex.gz
73
+
74
+ # ZoneIdentifier
75
+ **/*Zone.Identifier
76
+
77
+ # Mypy
78
+ .dmypy.json
79
+
80
+ # Autobuilt api docs
81
+ docs/build
82
+ docs/_build/
83
+ _build/
84
+ docs_output/
85
+ _build/
86
+ coverage.xml
87
+ jupyter_execute/
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.4
2
+ Name: spin_pulse
3
+ Version: 1.0
4
+ Summary: Quobly noise accurate simulation toolbox.
5
+ Author-email: Benoit Vermersch <benoit.vermersch@quobly.io>, Oscar Gravier <oscar.gravier@gmail.com>, "Matthieu C. Dartiailh" <matthieu.dartiailh@quobly.io>, Julia Guignon <julia.guignon@quobly.io>, Nathan Miscopein <nathan.miscopein@quobly.io>, Carlos Ramos Marimon <carlos.marimon@quobly.io>, Jonathan Durandau <jonathan.durandau@quobly.io>, Tristan Meunier <tristan.meunier@quobly.io>, Valentin Savin <valentin.savin@quobly.io>
6
+ Project-URL: homepage, https://github.com/quobly-sw/SpinPulse
7
+ Project-URL: repository, https://github.com/quobly-sw/SpinPulse
8
+ Classifier: Programming Language :: Python
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Classifier: Programming Language :: Python :: Implementation :: CPython
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Operating System :: OS Independent
17
+ Requires-Python: >=3.11
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENCE.txt
20
+ Requires-Dist: numpy>=2.1
21
+ Requires-Dist: scipy
22
+ Requires-Dist: matplotlib
23
+ Requires-Dist: qiskit>=2
24
+ Requires-Dist: pylatexenc
25
+ Requires-Dist: importlib_metadata>=8.7
26
+ Requires-Dist: tqdm
27
+ Requires-Dist: packaging
28
+ Requires-Dist: setuptools_scm
29
+ Requires-Dist: qiskit-aer
30
+ Requires-Dist: networkx>=3.0
31
+ Requires-Dist: llvmlite>=0.46
32
+ Requires-Dist: numba>=0.63
33
+ Requires-Dist: quimb>=1.10
34
+ Dynamic: license-file
35
+
36
+ <img src="https://github.com/quobly-sw/SpinPulse/raw/main/assets/SpinPulse.png" width=200>
37
+
38
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
39
+
40
+ **`SpinPulse`** is an open-source **`python`** package for simulating spin qubit-based quantum computers at the pulse-level.
41
+ **`SpinPulse`** models the specific physics of spin qubits, particularly through the inclusion of classical non-Markovian noise.
42
+ This enables realistic simulations of native gates and noise-accurate quantum circuits, in order to support hardware development.
43
+
44
+ This code is licensed under the Apache License, Version 2.0.
45
+
46
+ <img src="https://github.com/quobly-sw/SpinPulse/raw/main/docs/source/customapi/figures/global_fig.png">
47
+
48
+
49
+ ## Installation
50
+
51
+ You can install **SpinPulse** by running the following command from the root of the repository:
52
+ ```
53
+ pip install spin-pulse
54
+ ```
55
+
56
+ For more information consult the {doc}`installation <customapi/installation/index>` page.
57
+
58
+ ## API & Documentation
59
+
60
+ The API documentation can be found at [APIdoc](https://quobly-sw.github.io/SpinPulse/) and provides a detailed description of the **`SpinPulse`** package architecture, including its core modules, classes and functions.
61
+
62
+ Detailed information on our model and the code structure is presented in our [publication]()
63
+
64
+ ## Citing
65
+
66
+ If you use **`SpinPulse`** in your research work, please cite our publication
67
+
68
+ ```latex
69
+ @misc{vermersch2026spinpulse,
70
+ title={The SpinPulse library for transpilation and noise-accurate simulation of spin qubit quantum computers},
71
+ author={Beno\^it Vermersch, Oscar Gravier, Nathan Miscopein, Julia Guignon, Carlos Ramos Marim\'on, Jonathan Durandau, Matthieu Dartiailh, Tristan Meunier and Valentin Savin},
72
+ year={2026},
73
+ eprint={2601.XXXX},
74
+ archivePrefix={arXiv},
75
+ primaryClass={quant-ph},
76
+ url={https://arxiv.org/abs/2601.XXXX},
77
+ }
78
+ ```
@@ -0,0 +1,43 @@
1
+ <img src="https://github.com/quobly-sw/SpinPulse/raw/main/assets/SpinPulse.png" width=200>
2
+
3
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
+
5
+ **`SpinPulse`** is an open-source **`python`** package for simulating spin qubit-based quantum computers at the pulse-level.
6
+ **`SpinPulse`** models the specific physics of spin qubits, particularly through the inclusion of classical non-Markovian noise.
7
+ This enables realistic simulations of native gates and noise-accurate quantum circuits, in order to support hardware development.
8
+
9
+ This code is licensed under the Apache License, Version 2.0.
10
+
11
+ <img src="https://github.com/quobly-sw/SpinPulse/raw/main/docs/source/customapi/figures/global_fig.png">
12
+
13
+
14
+ ## Installation
15
+
16
+ You can install **SpinPulse** by running the following command from the root of the repository:
17
+ ```
18
+ pip install spin-pulse
19
+ ```
20
+
21
+ For more information consult the {doc}`installation <customapi/installation/index>` page.
22
+
23
+ ## API & Documentation
24
+
25
+ The API documentation can be found at [APIdoc](https://quobly-sw.github.io/SpinPulse/) and provides a detailed description of the **`SpinPulse`** package architecture, including its core modules, classes and functions.
26
+
27
+ Detailed information on our model and the code structure is presented in our [publication]()
28
+
29
+ ## Citing
30
+
31
+ If you use **`SpinPulse`** in your research work, please cite our publication
32
+
33
+ ```latex
34
+ @misc{vermersch2026spinpulse,
35
+ title={The SpinPulse library for transpilation and noise-accurate simulation of spin qubit quantum computers},
36
+ author={Beno\^it Vermersch, Oscar Gravier, Nathan Miscopein, Julia Guignon, Carlos Ramos Marim\'on, Jonathan Durandau, Matthieu Dartiailh, Tristan Meunier and Valentin Savin},
37
+ year={2026},
38
+ eprint={2601.XXXX},
39
+ archivePrefix={arXiv},
40
+ primaryClass={quant-ph},
41
+ url={https://arxiv.org/abs/2601.XXXX},
42
+ }
43
+ ```
Binary file
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd