Related Experiment Video
Updated: Oct 18, 2025

Large Scale Energy Efficient Sensor Network Routing Using a Quantum Processor Unit
Published on: September 8, 2023
Quantum-Inspired Magnetic Hamiltonian Monte Carlo
Wilson Tsakane Mongwe1, Rendani Mbuvha2, Tshilidzi Marwala1
1School of Electrical Engineering, University of Johannesburg, Johannesburg, South Africa.
Abstract:
Hamiltonian Monte Carlo (HMC) is a Markov Chain Monte Carlo algorithm that is able to generate distant proposals via the use of Hamiltonian dynamics, which are able to incorporate first-order gradient information about the target posterior. This has driven its rise in popularity in the machine learning community in recent times. It has been shown that making use of the energy-time uncertainty relation from quantum mechanics, one can devise an extension to HMC by allowing the mass matrix to be random with a probability distribution instead of a fixed mass. Furthermore, Magnetic Hamiltonian Monte Carlo (MHMC) has been recently proposed as an extension to HMC and adds a magnetic field to HMC which results in non-canonical dynamics associated with the movement of a particle under a magnetic field. In this work, we utilise the non-canonical dynamics of MHMC while allowing the mass matrix to be random to create the Quantum-Inspired Magnetic Hamiltonian Monte Carlo (QIMHMC) algorithm, which is shown to converge to the correct steady state distribution. Empirical results on a broad class of target posterior distributions show that the proposed method produces better sampling performance than HMC, MHMC and HMC with a random mass matrix.
Related Concept Videos
Magnetic Vector Potential
Consider an ideal solenoid with n turns per unit length and radius R. If I is the current through the solenoid, the magnetic field inside the solenoid is expressed as the product of vacuum...
Magnetic Field due to Moving Charges
Consider a point charge moving with a constant velocity. Like the electric field, the magnetic field at any point is directly proportional to the magnitude of the charge and inversely proportional to the square of the distance between the source point and the field point. However, unlike the electric field, the magnetic field is always perpendicular to the plane containing the line...
Maxwell's Equation Of Electromagnetism
Motion Of A Charged Particle In A Magnetic Field
The Quantum-Mechanical Model of an Atom
Magnetic Moment of an Electron

