Simulation

Approaching the life of spins using a computer

Computation techniques for magnetic resonance, ranging from the basics of 1D spectra to many-spin systems and machine learning methods.

The simulation of spin systems has a rich history in magnetic resonance, and is a powerful tool for predicting behavior, interpreting data, and discovering new experimental techniques. In this blog, posts will present functions for simulating basic magnetic resonance experiments in multiple coding languages, techniques for developing more complex algorithms, and introduce a framework for utilizing machine learning to approach problems in spin physics.

Featured

NMR spectrum of ethanol

In the previous post, we saw how to simulate NMR spectra for ensembles of J-coupled spins in the liquid state. In this post, we’ll use what we’ve introduced previously to simulate the 1H NMR spectrum of ethanol. Again, we won’t need to change the script much to adapt it to this particular molecule: all the […]

Read More

Featured

Introduction to PyOR: Simulating a Spectrum

Introduction Welcome to the second post on PyOR! In the previous post, I introduced some of PyOR’s key features and its approach to representing quantum objects. In this post, I want to give an overview of PyOR and walk through a concrete example: how to simulate a spectrum using PyOR. We’ll consider a simple two-spin […]

Read More

Featured

NMR spectrum of coupled spins

Welcome back! In the previous post, we laid out the building blocks for the simulation of NMR spectra for an ensemble of isolated spins. In this post, we will see how this can be extended to systems of multiple interacting spins. The last post was fairly long as we had a lot of concepts to […]

Read More

Featured

Introduction to PyOR: A versatile NMR Simulator

Introduction Magnetic resonance benefits from a variety of computational tools designed to simulate phenomena in both liquid and solid-state systems. Popular simulation packages include SpinDynamica, Spinach, SPINEVOLUTION, GAMMA, EasySpin, and SIMPSON. However, many of these tools rely on commercial platforms such as MATLAB or Mathematica, which may not be accessible to all users. Additionally, even […]

Read More

Featured

Simulating a simple 1D NMR spectrum

Welcome to this first post on real NMR simulation! In this post, we will see how to simulate from scratch the NMR spectrum of a single spin in a magnetic field , using the density matrix formalism. We will detail each step and break down the script into code snippets, both in MATLAB and Python. […]

Read More

Featured

Computing angular momentum operators

Hi reader! This post is the first of hopefully a long series, where we will show how to simulate magnetic resonance experiments, starting from the basics (e.g., the liquid-state 1D NMR spectrum of a simple spin system), and building up to more complicated topics like multidimensional experiments or quantum gates. The aim of these posts […]

Read More

Postulates of Quantum Mechanics

This series of posts lays out the foundational postulates of quantum mechanics using the two-level system of spin 1/2 particles as our model. In additionto a mathematical description of these postulates, MATLAB and Python code is included to show how to translate these ideas in a coding environment.

These posts will provide the mathematical foundation for more complex concepts in quantum mechanics and magnetic resonance, and the building blocks for code development of spin dynamics.
Artist Credit:
Yu SciVis & Art LLC (Dr. Chung-Jui Yu)
Website designed and developed by:
NetzOptimize Inc.
© COPYRIGHT . QUANTUM-RESONANCE.ORG

Quantum Insights