Skip to main content

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.

Filter by
Sorted by
Tagged with
4 votes
1 answer
273 views

I am looking for references that discuss numerical approaches to evaluating the Feynman path integral. Specifically, I would like references (books, papers, or reviews) that cover: Discretization ...
1 vote
2 answers
282 views

The Deutsch-Josza algorithm gives the result in one operation of the type of a $(0,1) \mapsto (0,1)$ function $f(x)$, i.e. if $f(x)$, is constant or balanced. With the parallel computing power of a ...
Yuan John Jiang's user avatar
2 votes
2 answers
348 views

I'm looking into variational Monte-Carlo to determine the optimal variational parameter that corresponds to the ground state of a Hamiltonian. In general I am interested in tight binding models where ...
I.E.P.'s user avatar
  • 463
0 votes
1 answer
269 views

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 ...
UnkemptPanda's user avatar
1 vote
0 answers
57 views

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 ...
poisson's user avatar
  • 2,225
2 votes
0 answers
127 views

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 ...
Andrew Yuan's user avatar
  • 2,323
0 votes
0 answers
56 views

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 ...
aaa's user avatar
  • 9
3 votes
1 answer
276 views

Quantum algorithms and protocols are often expressed as circuit diagrams. But I have not been able to find the circuit diagram of BB84 protocol. Has anyone seen one?
Yuan John Jiang's user avatar
1 vote
0 answers
137 views

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 ...
poisson's user avatar
  • 2,225
2 votes
1 answer
203 views

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 ...
myresh's user avatar
  • 23
1 vote
1 answer
83 views

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 (...
James's user avatar
  • 637
0 votes
1 answer
167 views

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 ...
10GeV's user avatar
  • 849
0 votes
0 answers
67 views

Given an equation (or a set of equations) involving matrices, is there an algorithm to find possible representations of these matrices? For example, we can consider a matrix $A$ such that $A^2=\begin{...
YeetTheorem's user avatar
1 vote
0 answers
111 views

I am an undergraduate student and my previous learning in physics is more on theory instead of numerics. I would be very grateful if you can point me to good introductory lecture notes/lecture videos ...
0 votes
0 answers
200 views

I need an algorithm to solve Poisson's equation for gravitational potential. $$ \nabla^2\phi = 4\pi G\rho $$ where, $\phi$ is Gravitational Potential. I am trying PDE for the first time so, I need ...
Owl0223's user avatar
  • 13
0 votes
0 answers
113 views

I read once (I can't find it anymore:( ), that the Legendre transformation from the Lagrange formalism to the Hamilton formalism can be seen as dynamic programming. I have never seen it like this and ...
nuemlouno's user avatar
  • 387
2 votes
0 answers
58 views

Suppose I have two identical qudits, the full Hilbert space is $\mathcal{H}=(\mathbb{C}^{d})^{\otimes 2}$. Say I'm given a supspace of states $\Lambda\subset \mathcal{H}$. What is the fastest ...
Zhiyuan Wang's user avatar
  • 1,065
1 vote
0 answers
99 views

Quantum Fourier transform of $|a\rangle\in H_N$ $$|a\rangle\longrightarrow\sum_{l=0}^{N-1}e^{\frac{i2\pi a l}{N}}|l\rangle$$ where $N=2^n$ and $H_N$ is $N$-dimensional Hilbert space. The ...
Houpe's user avatar
  • 51
2 votes
0 answers
332 views

I understand in plain terms superposition and entanglement, but I'm very unclear how either of these could work as a means to increase computation power. A helpful metaphor is that of the maze. A ...
WriterState's user avatar
1 vote
0 answers
182 views

I have one question: Recently, I studied about several algorithms like VQE, QPE, QAOA and so on. I would like to make some comparison tables about those algorithms, their strengths and weaknesses. If ...
1 vote
0 answers
162 views

X-Posted on Quantum-Computing Stack Exchange In quantum computation, there is a famous algorithm to search a marked item in an unstructured database called Grover's algorithm. It achieves a quadratic ...
Hans-Ulrich Rudel's user avatar
5 votes
2 answers
491 views

The Kolmogorov complexity of a deterministic universe is constant. The Kolmogorov complexity of a nondeterministic universe grows over time. It grows whenever something happens that is not ...
LinusK's user avatar
  • 129
1 vote
0 answers
52 views

I've written an algorithm to solve the Time Difference of Arrival (TDoA) localization problem, using Bancroft's method (see). Given the coordinates of $n$ nodes in ...
10GeV's user avatar
  • 849
0 votes
1 answer
141 views

The Wikipedia article on the Novikov self-consistency principle has a section on time loop logic, where it discusses using time travel to solve any NP problem by finding an algorithm where the only ...
Yair Halberstadt's user avatar
8 votes
1 answer
232 views

I am wondering if there is a platform to which researchers share or publish the code they used in their research. I noticed that many researchers explain their algorithm and math and present the ...