TransWikia.com

How to do state tomography when using sampling in Qiskit?

Quantum Computing Asked on September 2, 2020

Could anyone please explain how do I do state tomography when using sampling (on real device or QASM) in Qiskit? I know there’s a special method for this, but I could not find a working example.

More precisely, I would be interested in two cases: when the full state tomography is performed (all the $2^n$ amplitudes are measured) and when it’s known apriori that the wave function has support in a certain subspace (say, only $|10rangle$ and $|01rangle$ for a two-qubit system).

BTW, is $3^n$ a lower bound on the number of operators which have to be measured in order to perform the state tomography? ($X$, $Y$, $Z$ for each qubit.)

One Answer

I would suggest you use the code from the tutorial about quantum state tomography, adapting it to a real device of your choice. You can find the updated tutorial here

Caveat: as state tomography requires 3^n circuits, you will need probably to find a method of batch processing of these circuits if they exceed the job circuit limit of your real device. See the code here

“This performs measurement in the Pauli-basis resulting in :math:`3^n circuits for an n-qubit state tomography experiment.”

For an example of results of « full state tomography » on real devices (Melbourne and ibmqx4) for up to 5 qubits, I suggest you have a look at the end of my own qiskit tutorial here

For the exploration of a certain subspace on a real device, I have some doubt about the approach as noise will inevitability produce a result somewhere in the entire Hilbert space and not confined to the chosen subspace.

However, you may be interested by this recent paper

and by its presentation in Phys.org

I quote from this presentation written by Ingrid Fadelli

“By combining statistical learning and unitary t-design theory, the researchers were able to devise a rigorous and efficient procedure that allows classical machines to produce approximate classical descriptions of quantum many-body systems. These descriptions can be used to predict several properties of the quantum systems that are being studied by performing a minimal number of quantum measurements.”

So, you are surely right in proposing that full tomography can be replaced by alternate methods using a lower number of measurements.

For your last question about the 3^n bound, I see that JSdJ already answered to you.

Correct answer by Pierre on September 2, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP