Posts

OptPulseProcessor for simulating quantum circuit with optimal control pulses

The first goal of this project is to complete the quantum information processing module and implement a method to simulate a quantum circuit at the level of driving Hamiltonian. This will allow one to create a Hamiltonian representation whose time evolution is the propagator of the circuit and carry out the evolution with mesolve . This simulator is different from the common simulation of quantum information processing, as it simulates the dynamics of the qubits under the driving Hamiltonian. In contrast to the common simulation of QIP, where the noise/decoherence is simulated with the probabilistic occurrence of collapse, it will allow noise to be added into the dynamics in the form of both coherent (pulse shape) and incoherent (collapse operator) noise.  After some investigation, we found that the existing module circuitprocessor in qutip.qip has a similar purpose. However, it is based on two specific models: cavity QED and spin chain, which means that the available Hamiltonia...

Demo for the circuit processor and the effect of noise for simple quantum gates

Image
Example for spin chain and cqed model Example for spin chain and cqed model ¶ In [1]: % matplotlib inline from qutip import * from qutip.qip.models.spinchain import * from qutip.qip.models.circuitprocessor import * from qutip.qip.models.cqed import * In [2]: N = 3 qc = QubitCircuit ( N ) qc . add_gate ( "CNOT" , targets = [ 0 ], controls = [ 2 ]) Spinchain model ¶ This module takes a quantum circuit and find a pulse sequence generating the circuit with the Hamiltonian realsized by the spinchain model. It first resolves the gate into the following gates : "GLOBALPHASE", "ISWAP", "RX", "RZ" and then genearte a time-dependent hamitonian sequence consisting of $\sigma_{x}$, $\sigma_{z}$ and $\sigma_{x}\sigma_{x}+\sigma_{y}\sigma_{y}$ In [3]: lsc = LinearSpinChain ( N , correct_global_phase...