Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From shots to states and expectations #264

Open
scarrazza opened this issue Oct 14, 2020 · 3 comments
Open

From shots to states and expectations #264

scarrazza opened this issue Oct 14, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@scarrazza
Copy link
Member

We would to have the possibility to convert measurement shots to final state functions and/or to hamiltonian expectation.

Some useful techniques are:

  • Quantum tomography
  • Quantum Phase Estimation
@scarrazza scarrazza added the enhancement New feature or request label Oct 14, 2020
@AdrianPerezSalinas
Copy link
Contributor

Hi @scarrazza , I have been thinking about this problem and have two ideas.

Quantum tomography: if one makes a change of basis in the circuit (i. e., a layer of Hadamard gates) right before the measurements, the output in the computational basis can be written as a linear system in cos(phi_i - phi_j), where phi_i is the complex phase of entry i, and assuming phi_0 = 0. In order to extract the phases, we should perform a classical post_processing allowing us to solve this linear system. This procedure might be more efficient than standard quantum tomography, and thus more useful.

QPE: in case where the exponential of a Hamiltonian can be efficiently implemented in a quantum circuit, we could estimate the overlap between the circuit state and the ground state of that Hamiltonian. It would not serve for computing a expected value, but could be useful for optimizing.

I have to write both processes carefully, and when I have it, I will send it to you.

@joseignaciolatorre
Copy link

joseignaciolatorre commented Oct 19, 2020 via email

@AdrianPerezSalinas
Copy link
Contributor

Yes, I agree with that, it is a general result of quantum tomography. However, I still think there is something missing here, at least in the case where the density matrix is not a proper density matrix, but only one quantum state. The modulus of all coefficients involve all possible measurements with Z and I, that is a total amount of 2^n measurements. However, in practice it is done by just measuring the output of all qubits in the computational basis (assuming many shots). From these results, it is possible to infer the value of all measurements involving Z and I.

I have the suspect that something kind of similar can be done with the phases, so that the wavefunction of a quantum circuit can be obtained with few different measurements, although many shots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants