To simulate quantum system of 3 spin-1/2 particles system model on a particular state |110> over time t =0 to t = pi i.e., ๐๐๐ Heisenberg spin model, where each qubit represents a quantum spin-1/2 particle in a 1D chain.
Objective 1:
Create XXX Heisenberg model for 3 spin-1/2 particles in a line.
we have a Hamiltonian (๐ปHeis3), we can use it to determine how the quantum system of
3 spin-1/2 particles changes in time.
But Hamiltonian Hheis3 does not change in time.
Compute the unitary time evolution under the Hamiltonian for a given time t.
By knowing Hamiltonian, we can determine how quantum states of that system evolve in time by solving Schrodinger equation.
Calculating the time evolution operator ๐Heis3(๐ก).
we have the operator ๐Heis3(๐ก) which describes how any state of the quantum system changes in time by doing simulation on classical computer.
Simulate using operator ๐Heis3(๐ก) on target phase |110> from t =0 to t = pi (100 steps).
we have the operator ๐Heis3(๐ก) which describes how any state of the quantum system changes in time.
size of ๐Heis3(๐ก) 8X8 2ยณ = 8 states for N=3
time t = 0 to t = pi
Objective 2:
๐Heis3(๐ก) must be decompose into product of single and two-qubit gates using Trotterization.
we will use Trotterization for this product decomposition can be approximated with
Trotterization, where n is the number of trotter steps >=4, as n increases, the approximation becomes more accurate. with the help of it we now have approximately decomposed ๐Heis3(๐ก) into two-qubit gates XX(t), YY(t), ZZ(t).
N = number of repeated times
Evolution of the state |110> must be done using Trotterization with at least 4 steps n>=4.
Calculate the state tomography fidelity on noiseless, noisy, real manila backend simulators and compare.
compete based on the fidelity of the evolved state at time ๐=๐ using state tomography.
State tomography is a way of determining the exact quantum state โ even phase information โ at
the end of a quantum circuit by running the circuit multiple times and measuring in different bases.
State tomography will evaluate how well the quantum simulation matches to the expected state at ๐=๐.
The closer your final quantum state to the expected state, the higher the fidelity.
we will be using 3 out of 7 qubits of IBM manila [2,1,0] in order Ibmq_manilaโs remaining qubits will not be evaluated by the state tomography calculation.
expected final state โ |110>
noiseless simulator
QasmSimulator()
Day run: state tomography fidelity on qasm_simulator (noiseless) = 0.0003 (mean) ยฑ 0.0002 (standard deviation)
Night run: state tomography fidelity on qasm_simulator = 0.0002 ยฑ 0.0002
n=4 jobs executed on quantum computer using noiseless simulator
sim_noisy_manila โ simulator that mimics ibmq_manila
QasmSimulator.from_backend(provider.get_backend(โibmq_manilaโ))
Day run: state tomography fidelity on qasm_simulator(ibmq_manila) = 0.0430 ยฑ 0.0010
Night run: state tomography fidelity on qasm_simulator(ibmq_manila) = 0.0376 ยฑ 0.0010
n = 4 jobs
manila โ real manila backend
provider.get_backend(โibmq_manilaโ)
state tomography fidelity on ibmq_manila = 0.1017 ยฑ 0.0035
n = 4 jobs