Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wang-boyu/hmcs-qss
Hamiltonian Monte Carlo sampling from quantum state space
https://github.com/wang-boyu/hmcs-qss
Last synced: 30 days ago
JSON representation
Hamiltonian Monte Carlo sampling from quantum state space
- Host: GitHub
- URL: https://github.com/wang-boyu/hmcs-qss
- Owner: wang-boyu
- License: mit
- Created: 2015-12-07T08:01:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-12T01:04:38.000Z (almost 9 years ago)
- Last Synced: 2023-03-04T21:43:07.640Z (over 1 year ago)
- Language: Matlab
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hmcs-qss
Hamiltonian Monte Carlo (HMC) sampling from quantum state space------
This repository contains the MATLAB code that I wrote during my M.Sc. thesis project "Hamiltonian Monte Carlo sampling from quantum state space" from August 2014 to May 2015, under the supervision of Prof. Berthold-Georg Englert in Centre for Quantum Technologies and Department of Physics, National University of Singapore.###### MATLAB code for two-qubit states:
* Cholesky Decomposition with Primitive Prior: `code/cholesky_2qb_flat.m`
* Cholesky Decomposition with Jeffreys Prior or Hedged Prior: `code/cholesky_2qb_non_flat.m`
* Spectral Decomposition with Primitive Prior: `code/spect_2qb_flat.m`
* Fidelity and Distance: `code/Fidelity_Distance.m`###### Note:
* A main HMC program is not included in this repo.
* For two-qubit states only.###### Usage:
`code/cholesky_2qb_flat.m`, `code/cholesky_2qb_non_flat.m` and `code/spect_2qb_flat.m` are functions to be called by a main HMC program, in order to compute numerically and return the density matrix, probabilities, Jacobian determinant and potential gradients based on the angle variables, density matrix dimension and POMs provided by the main HMC program.Code is released under the MIT license.