As of May 31, 2023, we have updated our Code of Conduct.

# 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.

136 questions
Filter by
Sorted by
Tagged with
1 vote
36 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 ...
• 1,649
33 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 ...
95 views

### Numerically computing induced magnetic field from current density

Let's say we have current density $J_i$ on a discretized grid with $(N_x \times N_y \times N_z)$ points. What is the best procedure to compute the induced magnetic field $(B_i)$ from the current ...
• 21
24 views

### How to find a modelling function?

I have a list of boundary conditions, inequalities and general facts about a real world scenario involving probability distributions that evolve according to some parameters, but I'm struggling to ...
• 11
73 views

### What are the advantages of tensor network algorithms over monte-carlo simulations in terms of time-evolution?

I understand that tensor networks and monte carlo simulations are based on completely different principles. However, to my knowledge both are used to simulate the time evolution of a system. Is there ...
• 91
1 vote
38 views

### An example problem to solve using 100 qubits?

Suppose we have in our possession 100 pairs of electrons. Each electron A1 - A100 is entangled with its respective twin B1 - B100. Each entangled electron pair has been set up to have opposite spins (...
• 547
1 vote
72 views

### Grover's algorithm & using wave interference for computing

Grover's quantum search algorithm contends that it is possible to search for a specific item in an N-sized unsorted database in only $\sqrt N$ attempts. Classically, it takes N/2 attempts on average ...
• 547
95 views

### Sensor Array Position Calibration in Anisotropic Media

Problem. I have a sensor array consisting of $n \gg 4$ receivers at unknown locations $\langle x_n, y_n, z_n\rangle$ embedded in an anisotropic medium whose index of refraction varies as a known ...
• 989
45 views

• 129
1 vote