# Initial condition of the data in the quantum computation?

So here's something that's been bothering me. Given the time evolution of the wavefunction can only be unitary or discontinuous as a process of the measurement. So let the observables for our Hamiltonian be position $$\hat x$$, momentum $$\hat p$$ and energy $$\hat H$$. Does this mean the only possible states I can prepare in the lab are:

$$|\phi_1 \rangle = |E_0 \rangle$$

or

$$|\phi_2 \rangle = U|x_0 \rangle$$

or

$$|\phi_3 \rangle = U|p_0 \rangle$$

where $$U$$ is the unitary operator at arbitrary $$t$$, $$| x_0\rangle$$ is an arbitrary position operator, $$|p_0 \rangle$$ is an arbitrary momentum eigenket and $$|E_0 \rangle$$ is an arbitrary energy eigenket ? Am I correct in interpreting this means there are only certain quantum computations which can be performed with such a system (in the sense there is limited initial data one might input)?

Cross-posted on quantumcomputing.SE

• I would like to point out that in a quantum computer in the abstract canonical sense we usually don't have position, momentum, and energy. Typically we would work with qubits that can take two distinct states, and unitary operations as well as measurements.
– noah
Jun 20, 2021 at 19:27
• @noah I think one can make qubits out of these (energy, position and momentum) Jun 20, 2021 at 19:41
• How many qubits would you want to make from this? I would be surprised if this resulted in a universal gate set.
– noah
Jun 20, 2021 at 20:30
– glS
Jun 23, 2021 at 8:33

The term "observables" in quantum theory usually means anything which could in principle be observed, and this corresponds to physical quantities represented by Hermitian operators. However I think the question has been asked using the term "observables" in a more restricted sense, to mean "I only have the means to measure in either the $$x$$ basis or the $$p$$ basis".
Equally, the term "quantum computer" ordinarily means a machine which has enough flexibility that it can be made to simulate any Hamiltonian by stringing together logic gates (and can do this as efficiently, in the computer science sense, as other such machines). In this case the unitary operator $$U$$ mentioned in the question can be any unitary operator at all, and therefore any state can be prepared by first preparing $$| x \rangle$$ and then performing the logic gates corresponding to the desired $$U$$. (Of course we usually think of quantum computers acting on discrete not continuous basis states, but we can suppose some finite degree of approximation etc.)