WetSavannaAnimal: I understand that a reversible computer does not dissipate heat through the Landauer's principle whilst running - the memory state at all times is a bijective function of the state at any other time.
That is not what Landauer said in his almost 60 year old paper: "Irreversibility and heat generation in the computing process", R. Landauer, IBM Journal of Research and Development, Volume 5 Issue 3, July 1961, Pages 183-191:
"Our main argument will be a refinement of the following line of thought. A simple binary device consists of a particle in a bistable potential well shown in Fig. 1. Let us arbitrarily label the particle in the left-hand well as the ZERO state. When the particle is in the right-hand well, the device is in the ONE state. Now consider the operation RESTORE TO ONE, which leaves the particle in the ONE state, regardless of its initial location. If we are told that the particle is in the ONE state, then it is easy to leave it in the ONE state, without spending energy. If on the other hand we are told that the particle is in the ZERO state, we can apply a force to it, which will push it over the barrier, and then, when it has passed the maximum, we can apply a retarding force, so that when the particle arrives at ONE, it will have no excess kinetic energy, and we will not have expended any energy in the whole process, since we extracted energy from the particle in its downhill motion. Thus at first sight it seems possible to RESTORE TO ONE without any expenditure of energy. Note, however, that in order to avoid energy expenditure we have used two different routines, depending on the initial state of the device. This is not how a computer operates. In most instances a computer pushes information around in a manner that is independent of the exact data which are being handled, and is only a function of the physical circuit connections.
Can we then construct a single time-varying force, $F(t)$, which when applied to the conservative system of Fig. 1 will cause the particle to end up in the ONE state, if it was initially in either the ONE state or the ZERO state? Since the system is conservative, its whole history can be reversed in time, and we will still have a system satisfying the laws of motion. In the time-reversed system we then have the possibility that for a single initial condition (position in the ONE state, zero velocity) we can end up in at least two places: the ZERO state or the ONE state. This, however, is impossible. The laws of mechanics are completely deterministic and a trajectory is determined by an initial position and velocity. (An initially unstable position can, in a sense, constitute an exception. We can roll away from the unstable point in one of at least two directions. Our initial point ONE is, however, a point of stable equilibrium.) Reverting to the original direction of time development, we see then that it is not possible to invent a single $F(t)$ which causes the particle to arrive at ONE regardless of its initial state.
If, however, we permit the potential well to be lossy, this becomes easy. A very strong positive initial force applied slowly enough so that the damping prevents oscillations will push the particle to the right, past ONE, regardless of the particle's initial state. Then if the force is taken away slowly enough, so that the damping has a chance to prevent appreciable oscillations, the particle is bound to arrive at ONE.
Figure 1 Bistable potential well. $x$ is a generalized coordinate representing quantity which is switched.
Notice the similarity to a particle in a box.
Here are a couple of distant analogies which store two states and do not consider "erasure":
Interesting, but far too distant an analogy, are the Atmos clock or the Beverly clock which has never been wound since it was built 155 years ago. If a computer could run on changes of atmospheric pressure and temperature it would certainly be efficient.
WetSavannaAnimal: Consider the state of the physical system that the memory is built from just before power up and initialization. By dint of the reversibility of underlying microscopic physical laws, this state stays encoded in the overall system's state when it is effectively "wiped out" as the computer initialized and replaces it with a state representing the initialized memory (set to, say, all noughts).
If any information could be extracted from the memory chips after you buy them, prior to the first time you power them up, what use would the sequence of digits written by the manufacturer's test equipment be to you; the record of the first (not by a longshot) state?
See also: "Can RAM retain data after removal?" on Security.SE.
Often computer memory is not initialized to zero.
Usually one would say "this is the start" (the initial state) and proceed forward from that point. Essentially you are asking "what happened prior the 'Big Bang', long before the atoms were incorporated into the computer I purchased".
WetSavannaAnimal: So it seems to me that if $M$ bits is the maximum memory a reversible algorithm will need to call on throughout its working, by the reasoning of Landauer's principle, ultimately we shall need to work $M k_T log2$ to "throw the excess entropy out of the initialized system".
That's the unobtainable theoretical minimum. See Koomey's Law:
"Latest studies indicate that Koomey's Law (the number of computations per joule of energy dissipated) has slowed to doubling every 2.6 years$^{[12]}$.
By the second law of thermodynamics and Landauer's principle, irreversible computing cannot continue to be made more energy efficient forever. As of 2011, computers have a computing efficiency of about 0.00001%.$^{[13]}$ Assuming that the energy efficiency of computing will continue to double every 1.57 years, the Landauer bound will be reached in 2048. Thus, after about 2048, Koomey's law can no longer hold.
Landauer's principle, however, is not applicable to reversible computing. This and other 'beyond CMOS' future computing technologies as-yet undeveloped would represent entirely new efficiencies, beyond Koomey's Law.".
See also: "The physics of forgetting: Landauer's erasure principle and information theory" (Mar 19 2001), by M.B. Plenio and V. Vitelli, page 20:
"From the last section we remember that the amount of classical information invested in the creation of the state $\hat{\rho}$ was never smaller than the von Neumann entropy $S(\hat{\rho})$ a value which can always be achieved. This left open the question how much classical information is actually still accessible after the creation of $\hat{\rho}$. Having seen above, that the entropy of erasure of a quantum state $\hat{\rho}$ can be as small as the von Neumann entropy we conclude from Landauer’s principle, that the accessible information in the state $\hat{\rho}$ cannot be larger than its von Neumann entropy. Therefore it becomes clear that the only possible
quantity to describe the classical information content of a mixed state that has been prepared from an ensemble of pure states is given by the von Neumann entropy.".
Note that gdb and the rr project permit reverse execution of a program. This has no relation to Landauer's principle. One thing that was discovered is that since the program was not written with the intention of executing in reverse that some operations do not behave as expected.
WetSavannaAnimal: Question 1: Is my reasoning so far right? If not, please say why.
Done, but: "... To encode the beginning state that is wiped out at power up and initialization, it seems to me ...". The "zero" is not "0".
WetSavannaAnimal: Question 2: Given that we could build a quantum computer with 140 qubits in "digital" superpositons as above, do we indeed need such initialization energies?
The von Neumann entropy produced by a heat bath such that the thermal equilibrium state of the system is $\hat{\rho}$, i.e. $min \left\{ \Delta S_{tot} \right \} = S(\hat{\rho}) = -Tr \left \{ \hat{\rho} \, log \, \hat{\rho} \right \}$ which equals the von Neumann entropy of $\hat{\rho}$. That equation restates Landauer’s principle for quantum systems in which classical information is encoded.
See also:
"Viewpoint: Landauer Principle Stands up to Quantum Test" (May 21, 2018) in APS Physics 11, 49, by Massimiliano Esposito:
"... the quantum Landauer principle assumes that the qubit is initially uncorrelated with the equilibrated reservoir. This assumption is valid in the method Feng’s team used to prepare the qubit $^{[4]}$ or when the interaction between the qubit and the reservoir is weak. However, formulating second laws for correlated initial conditions is harder and remains an active field of research.
[4]
L. L. Yan, T. P. Xiong, K. Rehan, F. Zhou, D. F. Liang, L. Chen, J. Q. Zhang, W. L. Yang, Z. H. Ma, and M. Feng, “Single-Atom Demonstration of the Quantum Landauer Principle", Phys. Rev. Lett. 120, 210601 (2018).
WetSavannaAnimal: Last Question: Am I applying Landauer's principle to the quantum computer in the right way? Why do my arguments fail if they do?
I think I covered everything above, but implementing most logic gates requires more than one qubit as does creating a reversible logic.
See: "Reducing Quantum Cost in Reversible Toffoli Circuits" (Oct 20 2011), by Marek Szyprowski and Pawel Kerntopf:
"Recently, reversible circuit synthesis has been intensively studied. One of the problems that has not been solved for a long time was exact minimization of gate count (GC) in 4-bit circuits. Finally, last year a tool of practical usage for finding optimal gate count Toffoli networks for any 4-variable function was developed. However, not much work has been done yet on exact minimization of quantum cost (QC) in 4-bit circuits. This paper presents an application of the above mentioned tool to reducing QC of 4-bit reversible circuits. It is shown that for benchmarks and for designs taken from recent publications it is possible to obtain savings in QC of up to 74% comparing with previously known circuits.".