Questions tagged [algorithms]
For questions about an algorithm as it relates to physics. DO NOT ask how to implement an algorithm, questions like that belong on Stack Overflow or Computational Science. DO NOT ask about the efficiency of an algorithm, or other such questions, questions like that belong on Computational Science.
142
questions
0
votes
1
answer
42
views
Checking inverse metric and Christoffel symbols for the Kerr metric against references
I am trying to cross-check the Christoffel symbols and other very laborious geometric components in several metrics. In particular the Kerr metric is notoriously complex and results in expressions ...
1
vote
1
answer
895
views
How do I use Kepler's Laws to propagate an orbit for a Two-Line Element (TLE) Set?
I need to propagate a large number of orbits (get a satellite's position at a certain time) from TLEs (two-line element sets) using Kepler's laws. Ordinarily I'd use a real propagator like SGP4/SDP4, ...
1
vote
0
answers
22
views
Any quantum Monte-Carlo algorithm for calculating the lowest eigenenergy in each symmetry sector?
Suppose we have a hamiltonian which has the parity symmetry (e.g., the Heisenberg model with the open boundary condition). Is there any quantum Monte-Carlo algorithm which can be used to calculate the ...
0
votes
0
answers
38
views
Force-simulation for graph layout: How to avoid particle collapsing into a single point?
In a force-based graph-layout simulation using Barnes-Hut, what are the conditions for collapse? With collapse I mean multiple (or even all) nodes "collapsing" into a single point.
Is there ...
3
votes
2
answers
172
views
About how to calculate observables in Quantum Monte Carlo with complex weights
I'm rewriting a Diagrammatic Quantum Monte Carlo algorithm following Werner, P., Oka, T., & Millis, A. J. (2009). Diagrammatic Monte Carlo simulation of nonequilibrium systems. Physical Review B, ...
2
votes
0
answers
54
views
Is there a proof for critical slow-down in Monte Carlo?
It is physically understood why the standard Metropolis-Hasting algorithm slows down near the critical temperature, since it doesn’t utilize the divergence of the correlation length. However, I’m ...
0
votes
0
answers
37
views
Is Quantum State Tomography (QST) an inherently supervised or unsupervised problem in Machine Learning?
I am studying how to apply neural networks to the problem of Quantum State Tomography (QST) and I got confused when it comes to decide if this is a supervised or unsupervised learning problem.
At ...
0
votes
0
answers
51
views
Understanding chapter 3.1 (Laplace's equation) in Introduction to electrodynamics Griffiths 4 ed [duplicate]
I really need help to understand chapter 3.1.
What is the method of relaxation?
How can I use the method of relaxation to solve Laplace's equation?
How can I use the first and second uniqueness ...
7
votes
1
answer
2k
views
Explanation of relaxation method for Laplace's equation?
Currently reading through Introduction to Electrodynamics (4th Edition) by Griffiths. I'm trying to wrap my head around Laplace's Equation, here are a couple quotes that I'd like to understand a bit ...
0
votes
0
answers
61
views
How to efficiently calculate the inverse of the overlap matrix?
Now, we consider a non-orthonormal basis:
$$\mathcal{S}_N=\{|\alpha\rangle,a^\dagger|\alpha\rangle,a^{\dagger 2}|\alpha\rangle,\ldots,a^{\dagger N}|\alpha\rangle\},$$
where $|\alpha\rangle$ is the ...
1
vote
0
answers
463
views
Which is more accurate: Euler's method or modified Euler's method?
I was solving a differential equation, the equation being,
$$\frac{dv}{dt} = g-\frac{c_d}{m}v^2,$$
which can be solved analytically to give
$$v = \sqrt{\frac{mg}{c_d}}\left(\frac{e^{2t\sqrt{\frac{c_dg}...
1
vote
0
answers
31
views
Fringe pattern and ripples in the fringe visibility plot from interferograms
I am using a lens testing interferometer, where I record 4 to 5 interferograms with a 90$^{\circ}$ phase step between consecutive interferograms. In addition to the interferometer, I have also created ...
1
vote
0
answers
77
views
Simplest quantum Monte-Carlo method for the Bose-Hubbard model
I want to use quantum Monte-Carlo results to benchmark an algorithm for the Bose-Hubbard model. There are so many QMC methods in the market, so which one is the simplest one? I want the ground state ...
10
votes
0
answers
548
views
Using a time-like boundary as a computer?
Question and Summary
Using classical calculations and the Robin boundary condition I show that one calculates the anti-derivative of a function within time $2X$ (I can compute an integral below)
$$\...
0
votes
0
answers
61
views
How are the boundary conditions given in the SIMPLE algorithm on a forward staggered grid for a lid driven cavity flow?
I have a code given by my professor in which he applies the boundary conditions for the lid driven cavity flow. All the enforcement of boundary conditions I have seen elsewhere completely differ from ...