Published August 31, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.03439

torchquad: Numerical Integration in Arbitrary Dimensions with PyTorch

Files

joss.03439.pdf

Files (435.5 kB)

Name Size Download all
md5:115918759cdaf0e357f54d5c2e4bf50a
147.3 kB Preview Download
md5:af323630bc12c2bf756e817457c18e33
288.2 kB Preview Download

Additional details

Dates

Issued
August 31, 2021

References

  1. Gómez, P., Toftevaag, H. H., & Meoni, G. (2021). esa/torchquad: torchquad v0.2.4 - JOSS release (Version v0.2.4) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5344938
  2. Carrazza, S., & Cruz-Martinez, J. M. (2020). VegasFlow: Accelerating Monte Carlo simulation across multiple hardware platforms. Computer Physics Communications, 254, 107376. https://doi.org/10.1016/j.cpc.2020.107376
  3. Geodesy of irregular small bodies via neural density fields: geodesyNets, Izzo, Dario and Gómez, Pablo, 2021, 2105.13031, arXiv, astro-ph.EP
  4. Caflisch, R. E. (1998). Monte Carlo and quasi-Monte Carlo methods. Acta Numerica, 7, 1–49. https://doi.org/10.1017/s0962492900002804
  5. Ubale, P. V. (2012). Numerical Solution of Boole's Rule in Numerical Integration by Using General Quadrature Formula. The Bulletin of Society for Mathematical Services and Standards, 2, 1–4. https://doi.org/10.18052/www.scipress.com/bsmass.2.1
  6. https://doi.org/10.2307/2003298 https://doi.org/10.2307/2003298
  7. Borowka, S., Heinrich, G., Jahn, S., Jones, S. P., Kerner, M., & Schlenk, J. (2019). A GPU compatible quasi-Monte Carlo integrator interfaced to pySecDec. Computer Physics Communications, 240, 120–137. https://doi.org/10.1016/j.cpc.2019.02.015
  8. Baydin, Atilim Gunes and Pearlmutter, Barak A. and Radul, Alexey Andreyevich and Siskind, Jeffrey Mark, Automatic Differentiation in Machine Learning: a Survey, Journal of Machine Learning Research, 2018, 18, 153, 1–43, https://jmlr.org/papers/v18/17-468.html
  9. Peter Lepage, G. (1978). A new algorithm for adaptive multidimensional integration. Journal of Computational Physics, 27(2), 192–203. https://doi.org/10.1016/0021-9991(78)90004-9
  10. Lepage, G. P. (2021). Adaptive multidimensional integration: vegas enhanced. Journal of Computational Physics, 439, 110386. https://doi.org/10.1016/j.jcp.2021.110386
  11. PyTorch: An Imperative Style, High-Performance Deep Learning Library, Paszke, Adam and Gross, Sam and Massa, Francisco and Lerer, Adam and Bradbury, James and Chanan, Gregory and Killeen, Trevor and Lin, Zeming and Gimelshein, Natalia and Antiga, Luca and Desmaison, Alban and Kopf, Andreas and Yang, Edward and DeVito, Zachary and Raison, Martin and Tejani, Alykhan and Chilamkurthy, Sasank and Steiner, Benoit and Fang, Lu and Bai, Junjie and Chintala, Soumith, Advances in Neural Information Processing Systems 32, Wallach, H. and Larochelle, H. and Beygelzimer, A. and d'Alché-Buc, F. and Fox, E. and Garnett, R., 8024–8035, 2019, Curran Associates, Inc., https://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf
  12. Schlömer, N., Papior, N., Arnold, D., & Zetter, R. (2021). nschloe/quadpy v0.16.6 (Version v0.16.6) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.4519699
  13. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  14. Wu, H.-Z., Zhang, J.-J., Pang, L.-G., & Wang, Q. (2020). ZMCintegral: A package for multi-dimensional Monte Carlo integration on multi-GPUs. Computer Physics Communications, 248, 106962. https://doi.org/10.1016/j.cpc.2019.106962
  15. TensorFlow: A System for Large-Scale Machine Learning, Abadi, Martín and Barham, Paul and Chen, Jianmin and Chen, Zhifeng and Davis, Andy and Dean, Jeffrey and Devin, Matthieu and Ghemawat, Sanjay and Irving, Geoffrey and Isard, Michael and Kudlur, Manjunath and Levenberg, Josh and Monga, Rajat and Moore, Sherry and Murray, Derek G. and Steiner, Benoit and Tucker, Paul and Vasudevan, Vijay and Warden, Pete and Wicke, Martin and Yu, Yuan and Zheng, Xiaoqiang, 2016, USENIX Association, Savannah, GA, USA, Proceedings of the 12th USENIX Conference on Operating Systems Design and Implementation, 265–283, 9781931971331, OSDI16
  16. Kersevan, B. P., & Richter-Wa̧s, E. (2013). The Monte Carlo event generator AcerMC versions 2.0 to 3.8 with interfaces to PYTHIA 6.4, HERWIG 6.5 and ARIADNE 4.1. Computer Physics Communications, 184(3), 919–985. https://doi.org/10.1016/j.cpc.2012.10.032
  17. CAMPOLIETI, G., & MAKAROV, R. (2007). PRICING PATH-DEPENDENT OPTIONS ON STATE DEPENDENT VOLATILITY MODELS WITH A BESSEL BRIDGE. International Journal of Theoretical and Applied Finance, 10(01), 51–88. https://doi.org/10.1142/s0219024907004081
  18. Ray, J., Marzouk, Y. M., & Najm, H. N. (2010). A Bayesian approach for estimating bioterror attacks from patient data. Statistics in Medicine, 30(2), 101–126. https://doi.org/10.1002/sim.4090
  19. Atay, F. M., & Hutt, A. (2006). Neural Fields with Distributed Transmission Speeds and Long‐Range Feedback Delays. SIAM Journal on Applied Dynamical Systems, 5(4), 670–698. https://doi.org/10.1137/050629367
  20. Bellman, Richard Ernest, Dynamic Programming (Dover Books on Computer Science), Dynamic Programming (Dover Books on Computer Science) (Book, 2003), Dover Publications, ffaf97c7ad74814196cce38e0c50e6cf, 9974530bc63e1991c4378da0ab874c7a, 2003, mar, 0486428095, https://www.xarg.org/ref/a/0486428095/, 3

Citations

  1. Chen, G., Ju, L., & Qiao, Z. (2026). A Structure‐Informed Framework for Solving Time‐Dependent Partial Differential Equations With Neural Networks. Numerical Methods for Partial Differential Equations, 42(4). https://doi.org/10.1002/num.70133
  2. Bhattacharya, A., Fraser, K., & Schwartz, M. D. (2026). Observable optimization for precision theory: machine learning energy correlators. Journal of High Energy Physics, 2026(1). https://doi.org/10.1007/jhep01(2026)151
  3. Monsel, T. (2026). Deep Learning for Partially Observed Dynamical Systems [Agence Bibliographique de l'Enseignement Supérieur]. In université Paris-Saclay. https://doi.org/10.70675/55aa8297z3a6fz4b05zb01bz208bafb66fe8
  4. Ahn, B., Jeong, H.-S., Kim, K.-Y., & Yun, K. (2025). Holographic reconstruction of black hole spacetime: machine learning and entanglement entropy. Journal of High Energy Physics, 2025(1). https://doi.org/10.1007/jhep01(2025)025
  5. Hendriks, T., Arends, G., Versteeg, E., Vilanova, A., Chamberland, M., & Tax, C. M. W. (2025). Implicit neural representations for accurate estimation of the Standard Model of white matter. Communications Biology, 9(1). https://doi.org/10.1038/s42003-025-09399-5
  6. Amaral, D. W. P., Liang, S., Qin, J., & Tunnell, C. (2025). Fast Bayesian inference for neutrino non-standard interactions at dark matter direct detection experiments. Machine Learning: Science and Technology, 6(1), 015049. https://doi.org/10.1088/2632-2153/adb3ed
  7. Masuda, K., & Rappe, A. M. (2025). Atomic-scale phase-field modeling for ferroelectrics. Physical Review B, 112(5). https://doi.org/10.1103/ngky-crt4
  8. Park, S., Kim, W. D., Jeon, S., & Kim, J. (2025). Application of Koopman Direct Encoding-Based Model Predictive Control to Nonlinear Electromechanical Systems. 2025 IEEE International Conference on Robotics and Automation (ICRA), 7217–7223. https://doi.org/10.1109/icra55743.2025.11128499
  9. Cruz-Martinez, J., De Laurentis, G., & Pellen, M. (2025). Accelerating Berends–Giele recursion for gluons in arbitrary dimensions over finite fields. The European Physical Journal C, 85(5). https://doi.org/10.1140/epjc/s10052-025-14318-3
  10. Bérubé, C. L., & Gagnon, J.-L. (2025). Anisotropic induced polarization modeling with neural networks and effective medium theory. Geophysics, 90(2), C37–C50. https://doi.org/10.1190/geo2024-0107.1
  11. Zappala, E., Fonseca, A. H. de O., Caro, J. O., Moberly, A. H., Higley, M. J., Cardin, J., & Dijk, D. van . (2024). Learning integral operators via neural integral equations. Nature Machine Intelligence, 6(9), 1046–1062. https://doi.org/10.1038/s42256-024-00886-8
  12. Cruz-Martinez, J. M., Robbiati, M., & Carrazza, S. (2024). Multi-variable integration with a variational quantum circuit. Quantum Science and Technology, 9(3), 035053. https://doi.org/10.1088/2058-9565/ad5866
  13. Masuda, K., & Rappe, A. M. (2024). Phase field modeling for atoms. Physical Review B, 110(10). https://doi.org/10.1103/physrevb.110.104107
  14. Cen, L., Li, J., Yue, W., & Wang, X. (2023). NFAQP: Normalizing Flow Based Approximate Query Processing. In Lecture Notes in Computer Science (pp. 45–60). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-46677-9_4
  15. Baaij, T., Holkenborg, M. K., Stölzle, M., van der Tuin, D., Naaktgeboren, J., Babuška, R., & Della Santina, C. (2023). Learning 3D shape proprioception for continuum soft robots with multiple magnetic sensors. Soft Matter, 19(1), 44–56. https://doi.org/10.1039/d2sm00914e