• CattyMpanorama_fish_eye
    17 posts
    3 years

    May I ask how to implement the time evolution in qiskit, given an initialized state?

    In quantum mechanics, a quantum state evolves over time with the governing Hamiltonian.

    exp(iHdt)|ψ

    For example, in the 2-qubit Ising model,

    H=Z1Z2+h1X1+h2X2

    where h1 and h2 are the transverse field for qubit 1 and qubit 2. The initial state is in the ferromagnetic state |11. So I encode the initial state with a 2-qubit quantum circuit.

    from qiskit import QuantumCircuit
    
    qc = QuantumCircuit(2)
    qc.initialize('11', qc.qubits)
    

    How can I define a time-dependent quantum gate exp(iHdt) to act on the quantum circuit?

There are no more posts in this thread.

first_page
chevron_left
chevron_right
last_page