You are on page 1of 12

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/341593149

Study of effect of lockdown using epidemiological modelling of COVID-19 in


India and its quantum computational approach using the Ising spin interaction

Preprint · May 2020


DOI: 10.13140/RG.2.2.20736.46080

CITATIONS READ

0 1

6 authors, including:

Anshuman Padhi Sudev Pradhan


National Institute of Science Education and Research iiser, berhampur
3 PUBLICATIONS   4 CITATIONS    3 PUBLICATIONS   3 CITATIONS   

SEE PROFILE SEE PROFILE

Bikash K. Behera Prasanta K. Panigrahi


Bikash's Quantum (OPC) Pvt. Ltd. Indian Institute of Science Education and Research Kolkata
153 PUBLICATIONS   838 CITATIONS    612 PUBLICATIONS   5,176 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Quantum Devices View project

Quantum Cryptography View project

All content following this page was uploaded by Bikash K. Behera on 23 May 2020.

The user has requested enhancement of the downloaded file.


Study of effect of lockdown using epidemiological modelling of COVID-19 in India and
its quantum computational approach using the Ising spin interaction
Anshuman Padhi @ ,1, ∗ Sudev Pradhan @ ,2, † Pragna Paramita Sahu @ ,3, ‡
Kalyani S @ ,4, § Bikash K. Behera,5, 6, ¶ and Prasanta K. Panigrahi6, ∗∗
1
School of Physical Sciences,
National Institute of Science Education and Research, HBNI, Jatni 752050, Odisha, India
2
Physics Department,
Indian Institute of Science Education and Research, Berhampur, 760010, Odisha, India
3
Maths Department,
Indian Institute of Science Education and Research, Berhampur, 760010, Odisha, India
4
University of Mysore, Krishnaraja Boulevard Road,
K.G Koppal, Mysuru, 570006, Karnataka, India
5
Bikash’s Quantum (OPC) Pvt. Ltd., Balindi, Mohanpur 741246, West Bengal, India
6
Department of Physical Sciences,
Indian Institute of Science Education and Research Kolkata, Mohanpur 741246, West Bengal, India
COVID-19 causes respiratory tract infections in human beings that can range from being mild to
fatal. In India, it has been making rapid strides since its arrival, because of which, the countrywide
lockdown has been imposed since 24th march, 2020, and has already been extended three times
with different guidelines for each phase. Among various mathematical models of epidemiology, we
use the SIR(D) model to analyze the extent to which this multi-phased lockdown has been active in
‘flattening the curve’ thus gradually lowering the threat. Using the existing set of available data for
India, we attempt to predict the spread of the virus if the present trend continues. Analyzing the
effect of lockdown on the spread of infection, hence extrapolating it, may give us a better insight into
the evolution of epidemic while implementing the quarantine procedures as well as improving the
healthcare facilities. For accurate epidemiological modeling, incorporating various parameters along
with sophisticated computational facilities, are required. We tend to propose a Hamiltonian equation
for the COVID-19 spread and, thus, a pure quantum circuit that incorporates the rate of infection
and rate of recovery of the disease spread as its parameters. The probabilistic plots obtained from
the circuit qualitatively resemble the shape of the curve for the spread of Coronavirus. We also
demonstrate how the curve flattens when the lockdown is imposed. As quantum computation can
accommodate a large amount of data and parameters simultaneously, this would help devise more
efficient and accurate models in the near future.
Keywords: SIRD model of epidemiology, Ising model, Quantum circuits, IBM Quantum Experience

I. INTRODUCTION March 2020, observing the rate it transmits. Various


countries, including India, put forward extensive mea-
COVID-19 (Coronavirus Disease 2019) is a disease sures to curb the viral epidemic, by extensive tracing,
caused by the virus strain known as SARS-CoV-2 (Se- testing and isolating the suspected ones while improving
vere Acute Respiratory Syndrome Coronavirus II). It has healthcare systems and imposing lockdowns. Govt. of
widespread implications on the human body in the form India declared the countrywide lockdown on 24th March
of respiratory issues, septic shock, co-morbidity arising 2020 to reduce the virus’s rate of transmission. To tackle
from multiple-organ failure, and even death [1]. Routing this global pandemic, the extent of spread and the time
back to its emergence in mainland China around the end taken by the epidemic to reach its peak and other de-
of 2019, till May 2020, it has spread to over 210 countries tails must be well predicted so that the state can plan
resulting in a total of around 40 lakh cases with almost 3 accordingly and fight against it.
lakh deaths due to the same. The World Health Organi- Mathematical modeling can come handy in these pro-
sation (WHO) declared it as a global pandemic on 11th cesses, as they can predict how the epidemics evolve while
analyzing the current set of available data. Any such pre-
diction system requires a set of assumptions and consider-
∗ anshuman.padhi@niser.ac.in; @ Those are the first authors and ations, which helps to formulate the necessary equations
have equally contributed to this work
† that can later project the regular convolutions. Precise
su18@iiserbpr.ac.in; @ Those are the first authors and have
equally contributed to this work consideration of networks within a population while the
‡ pragna18@iiserbpr.ac.in; @ Those are the first authors and have model is being formulated yields an accurate prediction.
equally contributed to this work Later, the prediction can be informed to the healthcare
§ kalyanisuresh2608@gmail.com; @ Those are the first authors and sector and the stakeholders for necessary implementa-
have equally contributed to this work
¶ tions.
bikash@bikashsquantum.com
∗∗ pprasanta@iiserkol.ac.in Here, we use a time-dependent SIRD (Susceptible-
2

Infected-Recovered-Deceased) model to predict the evo- Hamiltonian. Then we build a quantum circuit to demon-
lution of this epidemic in India. The SIRD model is one strate how they are efficient enough to qualitatively show
among several compartmental studies in epidemiology [2] the nature of the epidemic through the obtained graphs
such as SEIR, where E stands for exposed and rest stay- as outputs. We also demonstrate how the considered pa-
ing the same; SEIRD, SIR, SIS model, etc. They have its rameters must be varied to reduce the number of infec-
origin from the Kermack-McKendrick theory of infection tions when at its peak and also to delay the time by which
spread, a very rigorous statistical analysis performed in viral spread peaks in the country. This delay of the peak
1927. Here, the population is divided into various com- with lowering of its height is given a term called ‘flatten-
partments, and their interactions are studied further. It ing the curve’ and this becomes crucial, as the affected
is a simple yet an instrumental model of epidemiology population is more spread out for a given time interval.
since it takes into account various factors such as the rate Hence, this might not flood the country’s healthcare fa-
at which infection spreads, the rate at which the active cilities, unlike otherwise. The reduction of the number of
cases recover, etc. In this current study, we use the data cases at its peak also ensures that the current healthcare
present at the crowd-sourced COVID-19 tracker [32]. We facility faces a shortage of resources while treating the
use classical computation to demonstrate how a change patients.
in spread rates might stabilize figures related to infection, To build the quantum circuit, we have used the IBM
recovery, and death. Quantum Experience platform. Various prototypes of
Several studies have been done with the available set quantum operators have been designed and have been
of data of COVID-19 spread in India and other countries. made available through IBM quantum experience, a free-
Some of the notable works have used several other sta- web based platform. Researchers have used it to their
tistical approaches while some have used compartmental strength to experiment with circuits and also to simulate
studies to model and predict the viral spread [4–12]. results which have furthered their research [16–31].
In our study, we focus on breaking the time scale into We organize this paper as follows. Section II discusses
smaller intervals (a period of ten days) and analyzing the theoretical backgrounds of the SIRD compartmental
them individually to determine the value of the param- model and the quantum computational approach. Sec-
eters specified in these periods. We demonstrate how tion III proposes how both of them have been imple-
step-wise constraints on such systems have effectively re- mented and what results were obtained from them. Sec-
duced infection spread over time. Here, we introduce two tion IV is dedicated to a general discussion on the ob-
possibilities concerning a set of parameters, one which tained results, including the drawbacks. Furthermore,
depicts a situation with no lockdowns and another with at last, we conclude this article by citing the future im-
controlled movement of people. We discuss and analyze plications of the proposal in Section V. For additional
the curves obtained from the simulation in terms of rates references, an appendix has been attached at VI.
of infection spread, as they are mostly dependent on the
interaction network of subjects in a concerned system
explicitly. As we study this parameter, we aim to estab- II. THEORETICAL BACKGROUND
lish a pattern in their evolution based on data obtained
and extrapolate them to obtain a specific value in the A. SIRD Model
timeline towards the end of the multi-phased lockdown
(supposedly on 17th May). Further, this set of predicted As already mentioned, the SIRD model is one of the
parameters is used to deduce the progress of the system compartmental models used in epidemiology. It divides
in the near future with a fixed population. These deduc- the whole population into categories where S stands for
tions with current constraints on the system are put up the part of the population which is susceptible to being
with a system with no such constraints to demonstrate infected by the virus. I is the population that has been
the efficacy of multi-phased lockdown in widening and infected and has the potential to spread the infection.
delaying the peak of infection reporting. R is the group which has successfully recovered from the
Quantum computation can be useful in the assessment disease. D stands for the portion which has been deceased
of such systems since an accurate prediction of a viral after getting infected due to it. N, the country’s total
spread needs to encompass various factors that might population assumed to be time-independent, is the sum
pose complexity challenges in classical computation. Fac- of the susceptible, infected, recovered and the deceased.
tors like quarantine measures, social distancing, popula- To develop the operating mathematical model equa-
tion networking, self-protection actions, etc, can give rise tions, some assumptions have been made here to keep
to a complex set of problems, challenging for a classical the model computationally simple. They are
computer to solve. Assuming such factors could be eas-
ily fitted into quantum computation facilities, given its • The average birth rate and mortality rate of India
intrinsic ability to hold substantial information and par- have not been considered.
allelly process them, underlies this project’s hypothesis.
Parallel to the SIRD modelling in the study, we form an • The mode of transmission has been considered to
analogy to the Ising model of magnetic lattice to form a be from person to person.
3

• Once a person has recovered from the disease, flattening’. The Ising model of atomic spin discusses the
he/she has attained the immunity for infection, spin interaction of an individual atom in the lattice with
hence does not fall back to the category of suscep- its neighboring lattice points and how the spins behave
tibles. in the presence of a magnetic field. Each can have an
atomic spin of + 12 or − 12 . The model describes the
Here α is the rate at which the infection is transmit- spin-spin coupling and the exchange interaction between
ted to the susceptibles due to possible contact between the lattice points and the associated energy value to
infected and susceptible ones. β indicates the rate at them. Interaction matrix depicts the fashion in which
which the infected individuals recover, which is the re- two lattice points interact with each other.
ciprocal of the number of days in the treatment period.
γ describes the fatality of the virus as the rate at which Here, Squillante et al. [3], attempted to study the
infected individuals lose their life due to the virus. In COVID-19 spread by comparing it with the Ising model,
this article, we have assumed that the incubation period with the analogy of each atom as an individual. The spin
of the virus is 14 days for patients in India. From the of each lattice point (individual) describes whether the
chart presented above, we describe the SIRD modeling person is infected with the virus or not. A spin of + 12
of the virus by the time rate of change of the different (p=probability of getting infected [success]) depicts that
compartments of the population using coupled ordinary the person is infected with the virus and the spin of − 12
differential equations. (q=1-p, probability of not being infected [failure]) indi-
cates otherwise, while considering the total population =
dS αSI N. Hence, just like the Ising model, here also the spins
=−
dt N (infected or susceptible individuals) interact with each
dI αSI other. The effect of magnetic field has not been consid-
= − βI − γI ered since it doesn’t carry in relevance in the analogy to
dt N
dR the viral spread.
= βI Since, in the case of viral epidemics, the infection is
dt
dD spread through ‘contact’ between individuals [13, 14], we
= γI (1) assume in a population of N, out of which ‘S’ are sus-
dt
ceptible ‘r’ people are infected. Here, we consider when
N =S+I +R+D (2)
two infected people interact, the net interaction is 0 or
no effect. So a general probability distribution can be
The much talked about R0 value of a viral epidemic is obtained from the Bernoulli’s equation as follows-
the number of individuals to whom one infected person
can transmit the virus in a day. It can be calculated by P (X = r) = CrS ∗ pr ∗ q S−r (3)
using the expression R0 = α x Incubation period (Incuba-
tion Period= β1 , if appropriate unit is used). If R0 values From the previous SIRD model, we get a reproduction
become less than 1, then we can think that the situation rate (Ro = αβ ) which also tells about the average number
will be under control as the disease now will eventually of secondary cases arising from primary cases in an en-
die down. It is so because the number of people infected tirely susceptible population, so we can consider p = RSo
per day would become less than the number of people or pS = Ro . The resultant equation turns out to be
recovering during that period.
We present the plot of the cumulative data of I, R, and Ror Ro S
D, obtain the parameters, α, β, and γ by the curves for limS−>∞ P (r) = limS−>∞ [ r! (1 − S )
Ro −r S!
fixed time intervals with multiple iterations. Later, we (1 − S ) (S)r (S−r)! ]
solve the mentioned differential equations for the multi-
(4)
ple sets of parameters, and their corresponding time in-
tervals, which nearly fits the data. Once the phase-wise On using Stirling approximation ?? formula and fur-
plotting is done, we note down two sets of parameters, ther solving (4) we get a Poisson distribution (for further
one corresponding to a no-lockdown/constraint system details, refer Appendix VI),
and another with some constraints. It must also be noted
that this analysis assumes the occurrence of both extrem-
Ror e−Ro
ities, and the period of the analysis is from fourth march P (r) = (5)
2020 to 12th May 2020. r!
As analysed, new cases per day rise nearly exponen-
tially to maximum value and then decrease, which shows
B. Ising model the trend of a peak function, from which the equation
could be derived (17). We can derive its time evolu-
On the other hand, we use the Ising model [3] to build tion factor with the probability of cases by implement-
a quantum circuit to demonstrate the effect of ‘curve ing Hamiltonian operator of its function dependent on
4

time. The spin systems interact with each other by the where I is the identity matrix and A is of same order of
exchange interaction. It is defined by a Hamiltonian op- the identity matrix.
erator as- Here, A=σx ⊗ σx , which follow the identity rule and has
a order 4 and we break down it to
N
X N
X U1 (t) = cos(An (r)t)I − isin(An (r)t)σx ⊗ σx
Ĥr = An (r)σ̂nx σ̂nx + Bn (r)σ̂ny σ̂ny
n=1 n=1
cos(An (r)t) 0 0 −isin(An (r)t)
" #
N
X 0 cos(An (r)t) −isin(An (r)t) 0
+ Cn (r)σ̂nz σ̂nz (6) 0 −isin(An (r)t) cos(An (r)t) 0
−isin(An (r)t) 0 0 cos(An (r)t)
n=1
Hence, solving the matrix and comparing with the U3
where, An , Bn and Cn are the probability functions. matrix we derive a following circuit 1:
The strength of the exchange interaction decreases as
the distance between these particles increases (which
can also deduce that if people maintain distance, the
spread of infection may decrease). In the neighboring
region, we can almost assume that the interaction of one
particle is almost similar to all of the neighbors, and the
interaction is followed in all three directions, and thus
the exchange interaction takes place; the stronger the
exchange interaction more will be its infection rate.

Hence to find its co-relation with the time evolution


operator and deriving it into quantum circuits here, for FIG. 1: The derived circuit has a combination of
n=1, we get a more straightforward form i.e. a CNOT gate, U3 gate and a CNOT gate, where
θ = 2An (r)t, φ = −π/2 and λ = π/2.

Ĥr = An (r)σ̂nx σ̂nx + Bn (r)σ̂ny σ̂ny + Cn (r)σ̂nz σ̂nz (7)


Similarly, working for the equation 11 we get a reduced
We apply the time evolution unitary operator on our matrix format
Hamiltonian operator U2 (t) = cos(Bn (r)t)I − isin(Bn (r)t)σy ⊗ σy

iHt(2π)
U (t) = e− (8) cos(Bn (r)t) 0 0 −isin(Bn (r)t)
h
" #
0 cos(Bn (r)t) −isin(Bn (r)t) 0
h 0 −isin(Bn (r)t) cos(Bn (r)t) 0
by taking 2π = 1 and putting the Hamiltonian of (7) in isin(Bn (r)t) 0 0 cos(Bn (r)t)
unitary operator of (8) we deduce.
Where the equivalent matrix is reduced in the form of
circuit as, 2
x x y y z z
U (t) = e−it(An (r)σ̂n σ̂n +Bn (r)σ̂n σ̂n +Cn (r)σ̂n σ̂n ) (9)
x x y y z z
−it(An (r)σ̂n σ̂n ) −it(Bn (r)σ̂n σ̂n ) −it(Cn (r)σ̂n σ̂n )
=e ∗e ∗e
     
0 1 0 −i 1 0
where, σ x = , σy = and σ z =
1 0 i 0 0 −i
Dividing the equation (10) into 3 parts as -
x x
U1 (t) = e−it(An (r)σ̂n σ̂n ) (10)
y y
−it(Bn (r)σ̂n σ̂n )
U2 (t) = e (11)
z z
−it(Cn (r)σ̂n σ̂n )
U3 (t) = e (12) FIG. 2: The derived circuit has a combination of
a CNOT gate, control U3 gate, Anti-control U3
gate and a CNOT gate, where θ1 = 2Bn (r)t, φ1 =
On solving the equation (10) −π/2 and λ1 = π/2 and θ2 = 2Bn (r)t, φ2 = π/2 and
x x λ2 = −π/2.
U1 (t) = e(−itAn (r))(σ̂n σ̂n )
(13)
Similarly, working for the equation 12 we get a reduced
which follows the condition of matrix format
e−iθA = cos(θ)I − isin(θ)A U3 (t) = cos(Cn (r)t)I − isin(Cn (r)t)σz ⊗ σz
(14)
5

 −itC (r) 
e n
0 0 0

 0 eitCn (r) 0 0 

 0 0 eitCn (r) ) 0 
0 0 0 e−itCn (r)

FIG. 5: Measurement bases for the calculation of


Where the equivalent matrix is reduced in the form of average values of < σx σx > for N=2 in circuit.
circuit as, 3

Similarly, < σy σy > can be represented by putting a


inverse S gate followed by a H gate in each qubit as it
moves information from y to z bases, which is shown in
the following diagram (6).

FIG. 3: The derived circuit has a combination of


a CNOT gate, U1 gate and a CNOT gate, where
θ = 2Cn (r)t.

Combining these 3 circuits, we get an equivalent circuit FIG. 6: Measurement bases for the calculation of
as in Ref. 4, average values of < σy σy > for N=2 in circuit.

And for < σz σz >, we only measure the qubits in zz


basis, which is shown in the following diagram (7).

FIG. 4: The equivalent circuit describes the


Hamiltonian operator 7 in a N=2 state.

Finding the average value helps us find the Energy


eigenstate of the operator, which we can relate to the
number of infected people at a particular time. FIG. 7: Measurement bases for the calculation of
average values of < σz σz > for N=2 in circuit.

En = An (r)t < σx σx > +Bn (r)t < σy σy >


+ Cn (r)t < σz σz > An (r), Bn (r) and Cn (r), all three functions are taken
(15) to be P(r) which we have derived in the above. Hence the
Hamiltonian, whose time evolution we study for COVID-
19 spread now turns-
where, <> = shows average value and
< σx σx >= P00 − P01 − P10 − P11
which is determined by putting 2 Hadamard gates at the
end of the equivalent circuit, which is useful for moving
information between the x and z bases, which is shown Ror e−Ro x x
in the following diagram (5). Ĥr = [σ̂n σ̂n + σ̂ny σ̂ny + σ̂nz σ̂nz ] (16)
r!
6

III. IMPLEMENTATION AND RESULTS their SIRD model prediction of Covid-19 in India, that
there is no reported error in the database, so we cannot
A. SIRD model use reduced chi-sq fitting for the above data. So, we
employed the approach mentioned to carry out our anal-
ysis i.e., the method of eye-approximation for the best fit.

Interval/ Date Day of


Leg no. spread
1 4 Mar-13 Mar 33-42
2 14 Mar-23 Mar 43-52
3 24 Mar-2 Apr 53-62
4 3 Apr-12 Apr 63-72
5 13 Apr-22 Apr 73-82
6 23 Apr- 2 May 83-92
7 3 May-12 May 93-102

TABLE I: Distribution into various legs

(a)

As per this fitting, in Fig. 8, the peak of the infec-


tion curve suggests that a maximum of 109 people will
get infected for a particular set of parameters. However,
data plotting suggests a change in the concavity of the
curve it follows periodically, hence in its slope. Thus tak-
ing a single fitting for the whole period might not be a
well scientific method. Hence, we tried to break the time
interval into smaller legs (here ten days) as per Table I
and record the values of the parameters (Table II) in the
respective leg. The simulated curves are thus made to
nearly fit the data points in Fig. 9.
(b)

FIG. 8: Simulating the prediction curves by using


the best fit over the entire range of data
Fig. (a) depicts the data points and respective curves
with α = 0.144, β = 0.021 and γ=0.0041 (b) represents
the same curve with the time axis extended upto 1000 Interval/ α β
days, thus giving a trend of the infection. Leg no.
1 0.127 0.002
2 0.167 0.010
The first Covid-19 case was reported in India on 30th 3 0.165 0.014
January 2020. Considering it as Day 1, on 4th March 4 0.146 0.014
(the 33rd day), the number of cases jumped suddenly 5 0.101 0.017
from 5 to 28. So, in this study, we start analyzing the 6 0.0825 0.020
data from March 4th onwards. For solving the differ- 7 0.091 0.024
ential equations, we use the Odeint module from scipy,
TABLE II: Values of α(t) and β(t) for various intervals
which uses the LSODA algorithm to solve the system
for making the curve fit with the respective data sets.
of coupled ODEs. As Rajesh et al. [10] pointed out in
7

rates have increased in a pretty uniform manner. It can


be attributed to various aspects, such as improvement
in the healthcare scenario, change in the demography of
the infected individuals, or a boost in the quality and
quantity of available treatment methods. Further studies
and accurate models might be able to justify this trend
(Fig. 10).

FIG. 9: Simulating the prediction curves by using


the best fit for every single interval obtained by
dividing the time axis by the dashed cyan lines.

By obtaining values of parameters, we proceed to make


the curves for infection, recovery, and deaths that ap-
proximately match the data points available. Further-
more, thus we obtain alpha and beta as for each period
i.e., α(t) and β(t). Here, our only concern remains α(t), (a)
and how it evolves in time as it is dependent on interac-
tions between components of the population that’s being
curbed and regulated during a lockdown [4]. β(t) and, on
the other hand, is dependent on various other factors like
the efficacy of treatment, the capacity of the healthcare
system, and demographics of the individual population,
which is not the point of discussion in this paper, hence
not given much importance. Also, changes in their val-
ues are in the order of 10−3 if any were made during the
fitting and duly presented.
In India, many cases start exhibiting the symptoms af-
ter completing their 14-day quarantine. Hence, for safety
purposes, many state governments have extended their
quarantine period to 28 days. So it might be unsafe
to assume any incubation period of fewer than 14 days.
Hence we consider it to be exactly 14 days. Moreover,
that makes the R0 value for the 3rd leg (March 24-April
2) 2.31, which falls to 1.274 by the end of the 7th leg.
(b)
Hence, the lockdown has been able to contain the spread
to some extent, but it should continue until it reaches a
FIG. 10: Curve fitting for studying the evolution
value closer to 1.
of α and β over time
If we go on plotting the evolution of α(t) from the Fig (a) α(t) being fit to an exponential decay function
above data, we can see that a lockdown can successfully y = 0.063 + 0.376 · e−x/t
reduce the infection rate. To know the future of α under (b) β(t) being fit yo a straight line y = 0.00256x +
the lockdown, we consider the rate of infections of the 0.00508.
several smaller periods under lockdown while excluding
the first 2 data points for day 33-42 and 43-52 (since the
lockdown nearly began on the day 53 of the arrival of We use the obtained values of α and β for the next
the virus in India) and do an exponential decay fit. We legs and simulate the SIRD curve and present it cumula-
later go on extrapolating the curve to know the estimated tively. We have tried to analyze how the future numbers
alpha values in the few next legs. As shown in figure 10, might be if the lockdown continues as it is until the dis-
we later use a straight-line fitting to extrapolate beta for ease is entirely null. After 3-4 legs further, the change in
subsequent legs. Here, we can interpret that the recovery α would have started becoming negligible (and R0 value
8

slowly tending to 1). The recovery rate also would have observe that the peak of the curve shifts forward in the
become nearly constant, we have taken the values of the time axis with a reduction in its height and making it
parameters at the end of the leg of period 132-142 to be broader.
constant throughout, for the time to come. We extrapo- From these, we can easily derive that a decline in the
lated the curve to obtain a trend (Fig. 11). rate of infection (α) will infect lesser people than before,
Parallelly, we have studied the effect of the current thus flattening the curve. Also, an increase in the rate
lockdown being lifted. If the lockdown is lifted on May of recovery (β) will imply an improvement in healthcare
17, we had assumed the other extreme that the infection facilities, changing demographics of the infected patients,
rate might well reach the value it had before the impo- etc. and show a change in the height and position of the
sition, but certainly not anything greater than that and peak. Using proper parameters and constants, this can
plotted the curves. be a novel way to simulate approximate curves for given
values. An analysis of epidemic spreads can be carried
out with the inclusion of more and more factors that
otherwise gets difficult for classical computers.

IV. INTERPRETATION AND DRAWBACKS

The three graphs, with I, R, D, show two trends post


lockdown- one set of parameters without any distancing
(constraints), and their respective carrier limits, and time
is taken to attain them. The latter case depicts another
set of parameters that have a few constraints imposed on
them, as in the last phase of lockdown. So latter case
parameters postponed the attainment of carrier limits
and are not as rapidly growing as the former case. Also,
the no lockdown case is started from the day of data
collection, along with lockdown trends and post lockdown
trends growing by two parameters to give an effective
picture of what would have been the picture without a
FIG. 11: Analysis of number of infections upon lockdown and how it would evolve once a lockdown is
various scenarios of lockdown. The time axis is seg- lifted off considering the extreme case scenario too. It
mented by using green lines, which signify the start and is evident that the lockdown shouldn’t be lifted all of a
(Probable) end of lockdown. It can be observed that the sudden, as it will lead to a massive upsurge in the number
number of cases at the peak almost halves with a distinct of cases (nearly same as that of no-lockdown case) with
shift in the abscissa of peak, when the lockdown contin- a very narrow delaying of the peak.
ues. When lockdown is removed all of a sudden (and The SIRD model discussed here has its own set of
assumed that the α= 0.165, just like the value before limitations pertaining to the assumptions made and the
lockdown), there is less decline in the number of cases at methods adopted while formulating it. The first limita-
the peak with a subtle shift in the abscissa of peak. tion of this analysis is the use of the slope-estimation of
data plotted curves to find the simulated curve in the
lockdown period while obtaining a periodic split up of
parameters. This might account for errors in the anal-
B. Ising model ysis. The assumptions like not considering birth and
mortality rates, the permanent immunization of a recov-
From Equation (16) from the previous section, we have ered patient, unavoidable migration and interactions, etc.
a Hamiltonian for the COVID-19 spread when compared make the model lose its precision. Here, the susceptible
to the Ising model. We were able to find a function which, are considered to be the entire population except the in-
when fed into the quantum circuit, qualitatively depicts fected, recovered, and deceased individuals, initially at a
the shape of the curve for the infected individuals, as we time t. No considerations have been made to distinguish
also obtained in the SIRD modeling. the exposed individuals out of the susceptible and model
While trying out various functions, we finally found them accordingly. This might be a significant drawback
that a Poisson probability distribution function gives a of the model. The trend in recovery and its rate also is in-
considerable resemblance to an actual graph and also the comprehensible due to the lack of data on the demograph-
type obtained from SIRD modelling (Fig. 12). In the ics of the recovered patients in terms of their age, sex,
function, the parameter R0 signifies the ratio of α to that etc. In this model, the number of tests performed and
of β. We can observe that when R0 is decreased while their rate has not been considered, but they might play
keeping other variables and parameters constant, we can a significant role in reporting the cases, hence the α(t).
9

(a)

(b)

FIG. 12: Used Hamiltonian being simulated using the IBM Quantum Experience, demonstrating the
phenomena of curve flattening. Fig (a) A 2-D graph depicting the shift of the peak along X-axis when R0 is
decreased (b) A 3-D curve showing the decline in the height of the peak when R0 is decreased.

Our N (the total population) has been assumed constant, have been successful enough to reduce their impact, yet
but immigration, new birth, and deaths might vary the a lot needs to be taken care of. However, the current pro-
N, thus making us compromise on its accuracy. More longed lockdown has started worrying national as well as
efficient models like the SEIRD (Susceptible- Exposed- global economies, pushing them into a tremendous cri-
Infected-Recovered-Deceased), and higher compartmen- sis; hence the lockdown cannot be sustained forever. But
tal models can be implemented for better prediction and as per our analysis, the lifting of lockdown shouldn’t be
analysis. all of a sudden, and be more gradual in the approach.
The quantum circuit design only gives the qualitative We must start practicing the concept of social distancing
shape of a ‘usual’ curve of an epidemic infection spread and personal hygiene to keep the viral spread at bay. In
with the proper use of the parameters and some con- desperate times like these, researchers of all fields must
stants, this can be used to simulate the curves for re- come together and contribute towards finding more in-
spective regions. Adding various complexities, out of formation regarding the virus through experiments and
which some are discussed in the above, is a matter of data analysis. This shall let us be more aware and help
time. With better and smarter use of quantum gates, us in tackling the risk. We sincerely hope that, just like
efficient circuits can be made to minimize the space and previous global pandemics, we can pass through this with
time complexities. Here, we have assumed only two pa- the advent of science and technology.
rameters, the rate of infection and the rate of recovery.
This can be intricately designed to accommodate vari-
ous other detailed parameters that encompass factors like ACKNOWLEDGMENTS
the number of tests, the age group of infected individu-
als, government measures in curbing the epidemic, etc.
Moreover, this can give us a more accurate simulation of S.P., A.P., P.S. and K.S. would like to thank Bikash’s
the epidemics as significant as COVID-19. Quantum (OPC) Pvt. Ltd. for providing hospitality
during the course of this project. A.P. would like to
thank Dr. Victor Roy, SPS, NISER for clearing some of
the doubts and sharing valuable resources in the initial
V. CONCLUSION phase of the project. B.K.B. acknowledges the presti-
gious Prime Minister’s Research Fellowship awarded by
COVID-19 has turned out to be a global crisis, af- DST, Govt. India. The authors acknowledge the support
fecting all the countries. The current model study report of IBM Quantum Experience for producing the basic cir-
hints at a frightening upsurge of the viral epidemic in the cuits. The views expressed are those of the authors and
times to come. Measures like quarantine and lockdown do not reflect the official policy of IBM or IBM Quantum
10

Experience team.

[1] M.A. Shereen, S. Khan, A. Kazmi, N. Bashir, R. Sid- [18] A. Dash, D. Sarmah, B. K. Behera, and P. K. Panigrahi,
dique, COVID-19 infection: Origin, transmission, and Exact search algorithm to factorize large biprimes and
characteristics of human coronaviruses, J. Adv. Res. 24, a triprime on IBM quantum computer, arxiv:1805.10478
91-98 (2020). (2018).
[2] F. Brauer, Compartmental Models in Epidemiology, [19] S. Satyajit, K. Srinivasan, B. K. Behera and P. K. Pan-
Math. Epidem. 1945, 19-79 (2008). igrahi, Nondestructive discrimination of a new family
[3] L. Squillante, I. F. Mello, A. C. Seridonio, and M. de of highly entangled states in IBM quantum computer,
Souza, Attacking the Covid-19 with the Ising-model and Quantum Inf. Process. 17, 212 (2018).
the Fermi-Dirac Distribution Function, arXiv:2003.11860 [20] R. Jha, D. Das, A. Dash, S. Jayaraman, B. K. Behera
(2020) and P. K. Panigrahi, A Novel Quantum N-Queens Solver
[4] P. Teles, A time-dependent SEIR model to analyse the Algorithm and its Simulation and Application to Satel-
evolution of the SARS-CoV-2 epidemic outbreak in Por- lite Communication Using IBM Quantum Experience,
tugal, arXiv:2004.04735 (2020) arxiv:1806.10221 (2018).
[5] Z. Tang, X. Li, and H. Li, Prediction of New Coron- [21] A. Padhi, D. Priyadarshi, B. K. Behera and P. K. Pani-
avirus Infection Based on a Modified SEIR Model, DOI: grahi, Design of Quantum Circuits to Play Chess in A a
10.1101/2020.03.03.20030858 (2020). Quantum Computer, DOI: 10.13140/RG.2.2.28760.03848
[6] R. Ranjan, Predictions for COVID-19 outbreak (2019).
in India using Epidemiological models, DOI: [22] B. K. Behera, T. Reza, A. Gupta, and P. K. Panigrahi,
10.1101/2020.04.02.20051466 (2020). Designing Quantum Router in IBM Quantum Computer,
[7] R. Singh, and R. Adhikari, Age-structured impact of Quantum Inf. Process. 18, 328 (2019).
social distancing on the COVID-19 epidemic in India, [23] P. K. Vishnu, D. Joy, B. K. Behera and P. K. Panigrahi,
arXiv:2003.12055 (2020). Experimental Demonstration of Non-local Controlled-
[8] R. Gupta, and S. Pal, Trend Analysis and Fore- Unitary Quantum Gates Using a Five-qubit Quantum
casting of COVID-19 outbreak in India, DOI: Computer, Quantum Inf. Process. 17, 274 (2018).
10.1101/2020.03.20.20044511 (2020). [24] S. Roy, B. K. Behera and P. K. Panigrahi, Experimental
[9] A. Dhar, A critique of the Covid-19 analysis for India by Realization of Quantum Violation of Entropic Noncon-
Singh and Adhikari, arXiv:2004.05373 (2020) textual Inequality in Four Dimension Using IBM Quan-
[10] A. Rajesh, H. Pai, V. Roy, S. Samanta, and S. Ghosh, tum Computer, arXiv:1710.10717 (2017).
CoVID-19 prediction for India from the existing data and [25] B. K. Behera, S. Seth, A. Das and P. K. Panigrahi,
SIR(D) model study, DOI: 10.1101/2020.05.05.20085902 Demonstration of Entanglement Purification and Swap-
(2020). ping Protocol to Design Quantum Repeater in IBM
[11] M. K. Arti, Modeling and Predictions for COVID 19 Quantum Computer, Quantum Inf. Process. 18, 108
Spread in India, DOI: 10.13140/RG.2.2.11427.81444 (2019).
[12] A. L. Rajendrakumar, A. Nair, C. Nangia, P. K. [26] A. Padhi, S. Pradhan, B. K. Behera, and P. K. Panigrahi,
Chourasia, M. K. Chourasia, M. G. Syed, A. S. Design and Simulation of an Autonomous Quantum Fly-
Nair, A. B Nair, and M. Koya, Epidemic Land- ing Robot Vehicle: An IBM Quantum Experience, DOI:
scape and Forecasting of SARS-CoV-2 in India, DOI: 10.13140/RG.2.2.30101.47848 (2020).
10.1101/2020.04.14.20065151 (2020). [27] S. Gangopadhyay, Manabputra, B. K. Behera, and P.
[13] N. Hernandez-Ceron, Z. Feng, and C. Castillo-Chavez, K. Panigrahi, Generalization and demonstration of an
Discrete epidemic models with arbitrary stage distribu- entanglement-based Deutsch–Jozsa-like algorithm using
tions and applications to disease control, Bull. Math. a 5-qubit quantum computer, Quantum Inf. Process. 17,
Biol. 75(10), 1716-1746 (2013). 160 (2018).
[14] R. Yaesoubi, and T. Cohen, Generalized Markov Mod- [28] S. Pradhan, T. S. Behera, B. K. Behera, and
els of Infectious Disease Spread: A Novel Framework for P. K. Panigrahi, Simulating Quantum Synchroniza-
Developing Dynamic Health Policies, Eur. J. Oper. Res. tion of Atomic Spin Model on IBM Q Experience,
215(3), 679-687 (2011). DOI:10.13140/RG.2.2.22783.15521 (2020).
[15] S. Eger, Stirling’s Approximation for Central Extended [29] Manabputra, B. K. Behera, and P. K. Panigrahi, A sim-
Binomial Coefficients, Am. Math. Month. 121, 344-349 ulational model for witnessing quantum effects of gravity
(2014). using IBM quantum computer, Quantum Inf. Process.
[16] A. Dash, S. Rout, B. K. Behera and P. K. Panigrahi, 19, 119 (2020).
Quantum Locker Using a Novel Verification Algorithm [30] U. Alvarez-Rodriguez, M. Sanz, L. Lamata and E.
and Its Experimental Realization in IBM Quantum Com- Solano, Quantum Artificial Life in an IBM Quantum
puter, arXiv:1710.05196 (2017). Computer, Sci. Rep. 8, 14793 (2018).
[17] K. Srinivasan, S. Satyajit, B. K. Behera, and P. K. Pan- [31] M. Kapil, B.K. Behera, and P.K. Panigrahi, Quantum
igrahi, Efficient quantum algorithm for solving travel- simulation of Klein Gordon equation and observation of
ling salesman problem: An IBM quantum experience, Klein paradox in IBM quantum computer, arXiv preprint
arXiv:1805.10928 (2018). arXiv:1807.00521 (2018).
[32] COVID-19 Data, www.covid19india.org
11

VI. APPENDIX

p is the probability of getting infected.


q is the probability of not getting infected,i.e.,q=1-p.

So, P (X = r) = CrS ∗ pr ∗ q S−r


S! Rr R0 S−r
P (X = r)= (S−r)!r! S r (1 − S )
0

Assuming the susceptible to be infinite,R0 is a constant.

Ror Ro S Ro −r S!
limS−>∞ P (r) = limS−>∞ [ (1 − ) (1 − ) r
]
r! S S (S) (S − r)!
Ror Ro S Ro −r S!
= limS−>∞ (1 − ) (1 − ) ]
r! S S (S)r (S − r)!
Ro S
=> limS−>∞ (1 − ) = e−Ro
S
(Ro )r e−Ro S!
= limS−>∞ r
r! (S) (S − r)!
U sing : Stirling 0 s − approximation − f ormula

S! = 2ΠSe−S S S

(Ro )r e−Ro 2ΠSe−S S S
T hen, P (r) = limS−>∞ p
r! S r 2Π(S − r)e−S+r (S − r)S−r
(Ro )r e−Ro e−S+S+0.5 S S−r+0.5
= limS−>∞
r! (S − r)S−r+0.5
r −Ro
(Ro ) e S S−r+0.5
= e−r limS−>∞ ( )
r! S−r
(Ro )r e−Ro −r 1
= e limS−>∞
r! (1 − Sr )S
(Ro )r e−Ro −r r
= e e
r!
(Ro )r e−Ro
=
r!

View publication stats

You might also like