Published June 14, 2023 | Version 03-08-23
Software Open

Quadratic Monte Carlo

Authors/Creators

  • 1. University of California, Berkeley

Description

General-purpose Monte Carlo sampler. We introduce a novel Quadratic Monte Carlo (QMC) technique that is more efficient in confining fitness landscapes than affine invariant method that relies on linear stretch moves. We compare how long it takes the ensembles of walkers in both methods to travel to the most relevant parameter region. Once there, we compare the autocorrelation time and error bars of the two methods. For a ring potential and the 2d Rosenbrock function, we find that our quadratic Monte Carlo technique is significantly more efficient. Furthermore we modified the walk moves by adding a scaling factor.

Here we provide the C++ source code and examples so that this method can be applied elsewhere. 

Files

dependencies.txt

Files (174.0 kB)

Name Size Download all
md5:ddbe3bb730f07048b6ec724a50d3659b
1.3 kB Download
md5:ce906e85f974613856bbc9bdd37cc583
2.4 kB Download
md5:bde665c5a45068fae1f95fc2d34ee334
48.3 kB Download
md5:fe78658cb64fa15e3dd3347fb7503573
1.3 kB Download
md5:d1c6ed889b9bbc85cd0c6ee16d3c29c6
4.5 kB Download
md5:c6c6fb03f8727b3b7fb8cfb96104c86e
4.7 kB Download
md5:f631d6cd66d7961ce0f8eef797334a27
3.4 kB Download
md5:96f3fb680349622ad296da821d6b6b15
960 Bytes Preview Download
md5:639f2ea719285f4daf990259c6f5e924
5.1 kB Download
md5:a6ea4d29908e335bbde92d2b57ba4d37
5.7 kB Download
md5:64151cf3e1a350ef85960b1d3c5a7e25
3.4 kB Download
md5:6997b3569765a454a726b3233b92256e
37.6 kB Download
md5:2a960b88db014138478b06c6e3afee19
606 Bytes Download
md5:251d5cbbda4e6cc19c39c02f7a57c11d
12.5 kB Download
md5:5d7807432a6eb712230f408cbdbea9cd
6.5 kB Download
md5:c6703b5174da7f3f211c4621daed1dc4
6.8 kB Download
md5:a352ea430391e4375c2de3d46d7e6a86
1.9 kB Download
md5:c8d2a376aa5bd35ceab7530510405ab7
683 Bytes Download
md5:899ecd211ab4585350e8ba4a9d803c98
2.5 kB Download
md5:2862c03134064c888e34c6c615255653
3.8 kB Preview Download
md5:2ff0f1c146f47a52424c2c923c47ace1
2.3 kB Download
md5:ca2ea052044b94bae2ea9fad602aadb0
13.8 kB Download
md5:886bb3fbb83cf11c5c5ad2233cc40096
895 Bytes Download
md5:1c22e13b7f7ff0d4943f16d91bf2aeb4
3.1 kB Download