this post was submitted on 31 Aug 2026
44 points (100.0% liked)

GenZedong

5280 readers
33 users here now

This is a Dengist community in favor of Bashar al-Assad with no information that can lead to the arrest of Hillary Clinton, our fellow liberal and queen. This community is not ironic. We are Marxists-Leninists.

See this GitHub page for a collection of sources about socialism, imperialism, and other relevant topics.

This community is for posts about Marxism and geopolitics (including shitposts to some extent). Serious posts can be posted here or in /c/GenZhou. Reactionary or ultra-leftist cringe posts belong in /c/shitreactionariessay or /c/shitultrassay respectively.

We have a Matrix homeserver and a Matrix space. See this thread for more information. If you believe the server may be down, check the status on status.elara.ws.

Rules:

founded 5 years ago
MODERATORS
 

Welcome again to everybody. Make yourselves at home. In the time-honoured tradition of our group, here is the weekly discussion thread.

Matrix homeserver and space
Theory discussion group on /c/theory@lemmygrad.ml
Find theory on ProleWiki, marxists.org, Anna's Archive

^image\ from^ ^this\ article^

you are viewing a single comment's thread
view the rest of the comments
[–] pcalau12i@lemmygrad.ml 4 points 6 days ago* (last edited 6 days ago) (1 children)

The digital PDF is about 150 pages, so it's not incredibly long. (Page count may be different for physical version.) It is also written so that one can follow along even if they have no technical background, although it will be harder to do so. The mathematics used are explained, with some GNU Octave code at the end of each chapter just to give you some hands-on with the math. So if you want to learn it in the process of reading it, you can, but someone who already knows the basics of quantum computing could probably skim through the whole first third of the book, with only the latter 100 pages actually assuming you know the mathematics enough to be able to simulate a quantum circuit.

Also, as per your notes, " non-Markovian (ie: non-Stochastic)", non-Markovian does not mean non-stochastic.

Consider that you apply a logic gate to a bit. The outcome effect on the bit will depend upon two things: (1) the definition of the logic gate, given by a truth table, and (2) the present value of the bit. You could thus imagine that the present bit's value at time t is p[t], its future value at time t+1 is p[t+1], and the truth table is given by T[t] describing the interaction or logic gate at time t, and then you could define this transition in terms of:

p[t+1]=f(T[t],p[t])

i.e., some function that takes the truth table and the present state of the bit as an input, and outputs the future / altered state of the bit.

This is the structure of a Markovian transition law. It takes what is effectively a truth table describing the effect of an interaction (represented by a matrix) as an input, as well as the present state of the system, into a function, and the function outputs the altered state of the system.

A non-Markovian law takes a different form.

p[t+1]=f(T[t],p[t],g(...))

If you want to evolve p[t] to p[t+1], you additionally need a second function g(...), which is defined recursively into the past, meaning it expands out into...

g(...)=g(T[t-1],p[t-1],g(T[t-2],p[t-2],g(T[t-3],p[t-3],g(...))

Every layer you expand g(...) goes one time interval back into the past, until it reaches a base case where the expansion stops.

That is to say, if you want to compute how a logic gate stochastically perturbs a bit's value in a quantum circuit, you need a function which takes into account not just the current truth table for the current logic gate (the operator given by U) and the current statistical distribution of the bits (given by |ψ|²), but all previous ones as well, going back to the beginning of the circuit.

Let me give an analogy. Imagine you have a machine which you pass a white ball into and sometimes outputs a red ball or a green ball. You are not sure what determines whether or not it outputs a green or red, so you study the white ball very closely, but no matter how detailed your measurements are, you cannot find anything that distinguishes one white ball from another. They all seem truly identical.

But then, later, you discover that there seems to be a perfect correlation between whether or not the white ball comes from dispenser A or dispenser B as to whether or not the machine will transform it into a red ball or a green ball. The "cause" of the machine outputting a red or green ball seems to have no relevance to the actual details of the white ball itself, but rather, where the white ball came from in the past.

The non-Markovian stochastic laws in quantum theory behave in a similar fashion. The statistical laws don't just care about the current statistical state of the system, but also where it came from, meaning, they also take into account its historical evolution as well. This means the same logic gate can have different behavior if the gates preceding them in quantum circuit are different, or if the bits begin with different initial values.

The logic gates are described by unitary operators which are complex-valued, and so they don't directly tell you the stochastic perturbation each logic gate applies to the bits. Stochastic perturbations are described by a stochastic matrix which are real-valued, positive, and all columns must sum to 1. So, you have to somehow compute what the correct stochastic matrix is from the unitary operators.

It's proved in the academic literature many times over that it's impossible to assign a single real-valued stochastic matrix to each unitary matrix that remains always positive where columns always sum to 1. The only possible way around this is to allow the assignment of different stochastic matrices to the same logic gate under different conditions. That is to say, the behavior of the same logic gate can change if the surrounding context around the logic gate changes.

The simplest example of this is the Hadamard gate in a quantum circuit that starts in a degenerate distribution. If you apply the Hadamard gate once, it behaves like a fair coin flip. If you flip a coin twice, the first time, the outcome is a uniform distribution, and the second time, the outcome is also a uniform distribution. But for the Hadamard gate, it only gives you a uniform distribution if you apply it once. If you construct a quantum circuit consisting of two Hadamard gates, it gives you a degenerate distribution.

There is no stochastic matrix that reproduces this behavior. You have to assign two separate stochastic matrices to the two separate instances of the two Hadamard gates: the first one moves it to a uniform distribution, [0.5 0.5; 0.5 0.5], and the second moves it to a degenerate distribution, either [1 1; 0 0] or [0 0; 1 1] depending upon whether the bit was originally initialized to 0 or 1. The book gives a general formula for computing the correct stochastic matrix for any logic gate, but the formula requires you to take in as input all previous gates and statistical distributions of the bits in the circuit up to that point.

[–] TabularTuxedo@lemmygrad.ml 3 points 6 days ago* (last edited 6 days ago) (1 children)

more notes lol

  • Markovian
    • p[t+1] = f(T[t], p[t])
  • Non-markovian
    • p[t+1] = f(T[t], p[t], g(...))

where:

  • T is the function that returns the truth table of a gate,
  • p is the present value of the bit
  • both are a function of time
g(...) = g(
    T[t-1], p[t-1], g(
    T[t-2], p[t-2], g(
    T[t-3], p[t-2], g(
    ...
    T[t-n], p[t-n], g(0)
)))

statistical distribution: |ϕ|^2

Right, I think I understood it now. Just to be clear, this is your setup:

  1. We insert white ball into a machine
  2. Machine spits out either a blue ball or a red ball
  3. It's not possible to whether a blue ball or a red ball will output from the machine given that we only study the white ball, since all white balls are 100% identical
  4. We then study the past of the white ball, and we discover that all white balls are dispensed from either a dispenser A and a dispenser B
  5. Despite the nonexistence of any transmission of information between a dispenser and the machine, there is a 100% correlation between the dispenser of a white ball and the color of the ball of the output (for example, the machine will always output a blue ball when a white ball comes from dispenser A, despite this white ball being identical to one which came from dispenser B)

The ball itself doesn't matter, its past does. Or in the case of qubits, its current value and its context.

I don't know if this came up when you described the non-Markovian example, but this reminded me of a Turing machine. Like, a Turing machine T can be described by f:Q~i~ → Q~j~, where Q~i~ and Q~j~ are possible states of T. A regular Turing machine acting through time could be described by f:Q[t] → Q[t+1] and with some boundary condition Q[0]. However, in your example, this hypothetical machine X can also "read" its own past. So, X would be described as g:{Q[t], {Q[t-1], Q[t-2], Q[t-3] ... Q[0]} → Q[t+1].

I think I would understand the math of your book, but not a lot about the concepts where it's applied. I hit a limit on my knowledge when you mentioned quantum gates and matrices on your comment. I don't know anything about those. I'm going to read more on that both because of curiosity and because I'm reallyyyyy rusty with my math skills.

Thanks for the write-up. I have a lot of review and studying to do. If you don't mind me asking, do you work mostly on the theory or do you also deal with the practical reality of quantum computing?

Also

some GNU Octave code at the end of each chapter just to give you some hands-on with the math

Based

[–] pcalau12i@lemmygrad.ml 4 points 6 days ago

do you work mostly on the theory or do you also deal with the practical reality of quantum computing?

I don't know anything about how to actually engineer one if that's what you're asking. I only know how to program them. I have run programs on some of IBM's quantum computers, just as a way to make sure the theory really does produce the results I'd expect in reality.