Dynamic Template Matching with Mixed-polarity Toffoli Gates

Size: px
Start display at page:

Download "Dynamic Template Matching with Mixed-polarity Toffoli Gates"

Transcription

1 Dynmi Templte Mthing with Mixed-polrity Toffoli Gtes Md Mzder Rhmn 1, Mthis Soeken 2,3, nd Gerhrd W. Duek 1 1 Fulty of Computer Siene, University of New Brunswik, Cnd 2 Deprtment of Mthemtis nd Computer Siene, University of Bremen, Germny 3 Cyer-Physil Systems, DFKI GmH, Bremen, Germny Astrt The Toffoli gte, s originlly proposed, hd only positive ontrols. It hs een shown tht mixed polrity ontrolled Toffoli gtes n e effiiently implemented. In ft, their quntum ost is the sme s for positive ontrolled gtes in most ses. Thus it is dvntgeous to onsider iruits with mixed polrity Toffoli gtes. Templte mthing hs een suessfully used to redue the numer of Toffoli gtes in reversile iruits. Little work on templtes with mixed polrity gtes hs een reported. Unfortuntely, the numer of potentil templtes inreses drmtilly, if mixed polrity is introdued. Here we propose dynmi templte mthing lgorithm tht tkes templtes with few lines nd dynmilly extends the lines to find mthes. Experimentl results show tht the proposed pproh hs signifint impt on reduing the totl numer of gtes (57% in the est se) in iruits. I. INTRODUCTION Applitions of reversile logi re found in quntum omputtion [1] where exponentil speed up n e hieved for some lgorithms [2]. For lssil reversile funtions ( speil se of Boolen funtions), series of synthesis nd post-synthesis methods re employed to otin quntum iruits. The most ommon method to otin quntum iruits from reversile funtions onsists of severl steps. First, iruit of Toffoli gtes [3], [4] is onstruted. The Toffoli iruit is then optimized with suh methods s desried in [5], [6]. Next, the Toffoli iruit is trnsformed into quntum iruit y deomposing [7] Toffoli gtes. Templte mthing n e used to redue the numer of gtes in Toffoli iruits [8] s well s quntum iruits [9]. When the Toffoli gte ws first proposed [3], only positive ontrols were onsidered. However, it hs een shown tht using oth positive nd negtive ontrols [10], [11] will result in iruits with lower quntum ost. This is the motivtion for onsidering templtes tht trditionlly only onsidered positive ontrols, with mixed polrity (positive nd negtive ontrols). The ojetive of our work is to investigte the use nd effet of mixed polrities in templted-sed optimiztion. We first find omplete set of 2-line templtes for NOT nd CNOT gtes with mixed ontrols. It turns out tht the numer of templtes is very lrge. This hs two disdvntges: first, lrge numer of templtes must e stored; seond, for eh templte the iruit must e snned for potentil mth. We develop dynmi templte mthing tht tkes set of templtes for few lines s input. For suessful mth on suset of lines in the iruit to e optimized it is heked whether the templte n e extended to mth the remining lines. Note tht the size of the set of mthed gtes must e more thn hlf of the size of the templte. Experiments show very good results in reduing the numer of gtes in iruits in omprison to the est known results of MCT enhmrk iruits [12]. It is oserved tht the runtime of the proposed heuristi is high sine mny possiilities re heked y dding ontrols to the gtes in templte. Previous work hs onsidered using negtive ontrol lines for reversile iruit optimiztion. Both [13] nd [14] present pprohes, lso lled templte mthing, to redue the numer of gtes in reversile iruits. However, they neither present n lgorithm to rete identities nor lssify iruit identities. Hene, the lgorithms n etter e desried s rule-sed pprohes. This is further justified y the ft tht suh rules re presented in terms of suiruit nd its optimized form, rther thn in terms of n identity iruit. In ft, the tehnique desried in [13] onsiders sequenes of gtes tht shre the sme trget line nd n therefore e effeiently redued using ESOP minimztion s demonstrted in [15]. In ft, ll optimiztion pprohes tht tke negtive ontrols into ount re instnes of rewriting ording to the elementry rules presented in [16]. This lso explins the huge numer

2 of templtes when onsidering negtive ontrols nd justifies dynmi mthing pproh s presented in this pper. The reminder of the pper is strutured s follows: Setion II riefly desries the fundmentls of reversile logi nd templte mthing. In Setion III we disuss the sis for onstruting templtes with positive nd negtive ontrols. Setion IV desries the dynmi templte mthing method. The signifine of the proposed pproh is shown with experiments. All 3-line MCT iruits nd 43 enhmrks re optimized nd the results re reported in Setion V. The pper onludes with some oservtions nd diretions for future reserh in Setion VI. II. BACKGROUND To keep this pper self-ontined, this setion riefly desries the essentils for reversile logi, reversile iruits, nd iruit optimiztion using templte mthing. A Boolen logi funtion f : B n B n over set of vriles X = {x 1,..., x n } is reversile if it is ijetive. Clssil reversile funtions [1] re the speil se of multiple-output Boolen funtions. A mixed-polrity multiple-ontrolled Toffoli (MPMCT) gte g(c, t) is reversile gte onsisting of set of ontrol lines C {x, x x X} tht re literls of X nd trget line t X suh tht {t} C =. A literl n our with t most one polrity in C. A ontrol line is lled positive if it ours s positive literl in C nd negtive if it ours s negtive literl in C. The semntis of suh gte re s follows: The vlue t the trget line is inverted if ll literls evlute to true. All remining vlues re pssed through the gte unhnged. Gtes for whih C = 0 nd C = 1 re known s NOT nd CNOT, respetively. In the literture, often only the se of gtes whih hve solely positive ontrol lines hs een onsidered. Reversile iruits re relized y sding reversile gtes. An MPMCT iruit is relized y sding MPMCT gtes. A iruit for funtion is miniml, if no iruit with fewer gtes relizes the sme funtion. The size of iruit G, denoted y G, is the numer of gtes in G. Two djent gtes g 1 (C 1, t 1 ) nd g 2 (C 2, t 2 ) n e interhnged if C 1 {t 2 } = nd C 2 {t 1 } =. Tht is, gte my move within the iruit y ommuting gtes; this is known s moving rule [10]. If gtes in iruit G n e rought together y the moving rule, then they form suiruit of G. Let two gtes g 1 (C 1, t 1 ) nd g 2 (C 2, t 2 ) in iruit t on the sme line(s) nd they relize the funtions f nd f 1 respetively. If they n e mde djent y using the moving rule, then they oth n e deleted; this is known s the deletion rule. These rules origin from previous work in whih only postive ontrol lines were onsidered. By llowing negtive ontrol lines for the iruit desription, one gins more flexiility [16]. A. Templtes nd Templte Mthing A templte T is iruit tht relizes the identity funtion. If sequene of gtes in iruit mthes with sequene of gtes with size s 1 > T /2 in templte T, then the mthed sequene of gtes in the iruit n e repled with the inverse of the remining sequene of size s 2 < T /2. This is lled templte mthing. Gtes in reversile iruit n often e reordered without ffeting the funtion of the iruit. The order of gtes in templte re onsidered to e irulr nd the moving rule n lso e pplied. The proess of mthing gtes from templte to iruit n strt from nywhere, nd mthing n e extended either in forwrd or kwrd diretion of the templte. Hene, if templte n e pplied to iruit, y rerrnging the gtes in the iruit s well s in the templte, then suh mth will e found in ext templte mthing. In this ontext, in ext templte mthing, gte g 1 (C 1, t 1 ) of templte mthes with gte g 2 (C 2, t 2 ) of iruit suh tht g 1 nd g 2 relize the sme funtion. An exmple of mthing of the gtes of templte to the gtes of iruit is shown in Fig. 1. However, grph-sed lgorithm for ext templte mthing n e found in [17]. Exmple 1: Let the iruit shown in Fig. 1() e optimized with the templte shown in Fig. 1(). The gte sequene 0, 1, 2, 3, 4, 5 of the templte mthes the gte sequene 0, 1, 2, 5, 3, 6 in the iruit in ext templte mthing. Therefore, the gte sequene of optimized iruit would e the gte sequene 10, 9, 8, 7, 4 of the templte () Ciruit G () Templte T Fig. 1: () A iruit nd () A templte

3 III. BASE TEMPLATES AND RULES FOR TEMPLATE CONSTRUCTION Templtes n e onstruted in mny different wys y using rewriting rules. However, some empiril results show tht the set of templtes of more thn 2 lines n e very lrge. Moreover, pplitions of templtes depend on how iruits to e optimized re onstruted, nd mny templtes my not e useful. For exmple, if 3- line funtion is synthesized y using the trnsformtionsed lgorithm, then it is unlikely tht the templte in Fig. 2(i) is pplied to redued the otined iruit. In this setion, we first find set of templtes of 2 lines whih re referred to s se templtes. From these se templtes, set of rules is defined to redue the templte set. We lso present rules of deriving templtes with lrge numer of lines dynmilly in templte mthing. A heuristi for dynmi templte mthing is desried in the next setion. For the NOT nd CNOT gtes with oth positive nd negtive ontrols, n exhustive serh lgorithm [18] finds omplete set of 2-line templtes whih re shown in Fig. 2. () () () (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) Fig. 2: The set of ll 2-line templtes In ontrst to dynmi templte mthing, in ext templte mthing, gte g 1 (C 1, t 1 ) in templte n only mth gte g 2 (C 2, t 2 ) in iruit if C 1 = C 2 nd oth C 1 nd C 2 hve sme numer of positive nd negtive ontrols. Tht is, oth g 1 nd g 2 hve to relize the sme funtion up to vrile nmes. This hs onsequene tht lrge set of templtes must e known in dvne for ext templte mthing. However, if templtes with MPMCT gtes re onsidered, then redued set of templtes otined y the rules in susetion III-A n e used in n ext templte mthing. Moreover, templtes with gtes of lrge numer of ontrols still require for optimizing iruits with gtes of lrge numer of ontrols. On the other hnd, the dynmi templte mthing tkes templte with few lines s n input nd if the lines of gtes in the templte prtilly mth with the lines of gtes in the iruit then it will extend the lines of the templte. Tht is, gte g 1 (C 1, t 1 ) in templte mthes gte g 2 (C 2, t 2 ) in iruit if C 1 C 2 s well s oth g 1 nd g 2 do not neessrily hve to relize the sme funtion. A. Equivlene of Templtes Let T e l-line templte of size n, then the following rules n e pplied to redue the set of templtes. 1) All polrities of the ontrols of gtes in templte n e flipped. For instne, the templtes in Fig. 2(g) nd (h) n e onsidered s equivlent in templte mthing. 2) On line where no gte hs trget, ll polrities of the ontrols on tht line n e flipped. For instne, the templtes in Fig. 2() nd () n e onsidered s equivlent. Aording to these equivlene rules, the set of templtes in Fig. 2 n e redued to the set of templtes whih re shown in Fig. 2(), (), (d), (e), (f), (g), (i), (k), nd (n). B. Extension of Lines in Templtes Let T is n l-line templte of size n, then the following rules n e pplied to derived new templtes. 1) Adding line to T results in templte of l + 1 lines. 2) If the removl of suset S of m (2 m n) gtes in T results in n identity, then new ontrol of eh gte of S in T n e dded nd pled into new line. All new ontrols of gtes in S must either ll e positive or ll e negtive. This results in new templte. Aording to these rules, it follows tht the templtes in Fig. 2(), (), nd () n e onsidered s equivlent in dynmi templte mthing. In summry, we otin redued set of templtes s shown in Fig. 3. IV. DYNAMIC TEMPLATE MATCHING In this setion, we present n lgorithm for dynmi templte mthing. To illustrte the lgorithm in Fig. 4, we onsider the iruits in Fig. 5. Let the proedure DynmiTemplteMthing() tke the iruit

4 () () () (d) (e) (f) (g) (h) Fig. 3: The redued set of 2-line templtes G in Fig. 5() nd the templte T in Fig. 5() s input; n = 5 nd l = 2. The proedure mth() returns true nd sets the vlues of m, m l, u l, nd u if more thn hlf of the gtes of I, n e mpped into suiruit of G. For instne, for the gtes {0, 1} in the templte T, lines nd re mpped into the iruit lines x 1 nd x 4. The gtes in the inner retngle in C re the ndidtes for mthing with the gtes {0, 1} in T. Therefore, m = {3, 4}, m l = {1, 4}, u l = {0, 2, 3}, nd u = {2}. Now for the line x 0, there re ontrols of gtes in the set m = {3, 4} in G. Therefore, the proedure ddconinnewline() will dd new line to the iruit I nd lso dd ontrols with respet to the gtes set m = {3, 4} nd i = 0. The resulting iruit I is shown in Fig. 5() in whih the unmthed gte 2 of T remins unhnged. Now for the gte u = {2} in the iruit shown in Fig. 5(), the proedure ddconhekid() heks whether ny identity n e found y dding ontrols to the gte u = {2} in I in ll possile wys. In this se two possily generted iruits re shown in Fig. 5(d) nd (e). Sine the iruit in Fig. 5(e) is n identity, the proedure ddconhekid() returns true. Sine lines {2, 3} in the iruit hve no ontrols for the gtes set m = {3, 4}, the inner for loop in the lgorithm will terminte without hnging su = true. Now su = true, hene, the proedure doreplement() reples the gtes set m = {3, 4} with the gte 2 of the identity iruit of Fig. 5(e). The resulting optimized iruit is shown in Fig. 5(f). (i) V. EXPERIMENTAL RESULTS We implemented ext templte mthing nd the dynmi templte mthing heuristi using C++. Along with 2-line templtes, we hve lso generted set of 3-line templtes of size up to 6. In our first experiment, we pply totl of 228 templtes to optimize ll 3-line iruits (gtes in iruits hve only positive ontrols) otined from the trnsformtion sed synthesis lgorithm. (1) iruit& DynmiTemplteMthing(G, T ) (2) G is iruit of n lines (3) T is templte l lines (4) /* Let m e n rry for index of mthed gtes in the (5) iruit */ /* Let u e n rry for index of unmthed gtes in the templte */ (6) /* Let m l nd u l e rrys of mthed lines in the iruit where m l = l nd u l = n l */ (7) Let I = T is iruit (8) while mth(g, I, &m, &m l, &u l, u) (9) if m = I (10) if isidentity(g, m) /* whether the whole su-iruit for m in G is identity */ (11) G = doreplement(g, I, m, m l ); (12) else (13) ool su = true; (14) for eh i u l (15) if line i hs ontrols of the gtes in m (16) I = ddconinnewline(i, m, i); (17) /* numer of lines of I is inresed y only 1 (18) */ m l = m l i (19) if!ddconhekid(i, u) (20) su = flse; (21) rek; (22) if su (23) G = doreplement(g, I, m, m l ); (24) I = T ; (25) return G; Fig. 4: Algorithm for dynmi templte mthing x 0 x 0 x 1 = x 1 = x 2 x 2 x 3 x 3 x 4 = x 4 = () Ciruit G () () Templte T (d) (e) An identity x 0 x 0 x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 (f) Optimized iruit Fig. 5: Dynmi templte mthing Column 3 in Tle I shows the verge numer of gtes for ll funtions. The verge numer of gtes in iruits otined from ext templte mthing re show in olumn 4 in Tle I. The totl verge redution is 24.18%. It is oserved tht in ext templte mthing, out of 228 templtes, only 31 templtes re pplied. In our seond experiment, we hve tken enhmrk MCT iruits from RevLi [12] s shown in olumn 1 in Tle II. Column 2 shows the numer of gtes in

5 the originl iruits. By using the redued set of 2-line templtes in Fig. 3 nd 214 templtes of 3 lines, the otined results from dynmi templte mthing re shown in olumn 3 in Tle II. Aording to olumn 5 in Tle II, signifint perentge of redution of gtes n e notied. More thn 20% redutions re highlighted. For 43 enhmrks, the verge redution is 23.46%. The est result is 57% redution for the enhmrk rd It n e notied tht for the enhmrk urf3 155 with 26, 468 gtes, the numer of gte redutions is 10, 732. Among 223 templtes, those templtes whih re frequently used for enhmrks optimiztion is shown in Fig. 6. It is very ler tht we only use templtes of lines up to 3 in whih trgets of gtes in templtes re pled into t most 3 lines, nd only ontrols of gtes in templtes re extended. However, templtes in whih gte trget ts on more thn 3 lines n e more enefiil for the optimiztion of iruits with lrge numer of lines. Even templtes of size more thn 6 n e investigted. We oserve tht redution of gtes in Toffoli iruits my not led to iruits with redued quntum osts when nive gte ount of quntum iruits is onsidered s quntum ost. Toffoli iruits with fewer gtes my hve higher quntum osts thn the osts of originl iruit. For instne, if the iruit shown in Figure 7() is repled with the iruit shown in Figure 7(), then the quntum ost of the resulting iruit inreses where quntum osts of Toffoli gte with 2 ontrols nd Toffoli gte with 3 ontrols re 5 nd 14, respetively. The question is tht whether Breno s [7] or lirrysed Toffoli [19] deomposition would e enefiil to otin possily low quntum ost iruits. However, we onjeture tht for templte T, if the gte sequene of size T /2 + 2 in T mthes with the gte sequene of iruit, then the resulting Toffoli iruit lwys leds to the low quntum ost iruit. In the literture, different quntum ost models re proposed [20], [21], therefore, in this work, we leve the mesurement of quntum osts of iruits for future reserh. VI. CONCLUSION We present heuristi of dynmi templte mthing in whih templtes of more thn 2 quits hve een generted during the mthing proess. The results from optimizing enhmrk funtions re promising, wheres omputtionlly, it is not fesile to otin ll templtes even with three lines efore templte mthing strts. Relting our findings in templte mthing with mixed- TABLE I: Results of optimizing 3-line MCT iruits otined from trnsformtion-sed lgorithm Size(min) #f #Avg(G)T B #Avg(G)Optz Totl #Avg(G)T B: Averge no. of gtes in originl iruits; #Avg(G)Optz: Averge no. of gtes in optimized iruits; TABLE II: Results of optimizing enhmrks Benhmrks #G(Org.) #G(Optz.) Rd Rd(%) 4gt11-v gt13-v mod5-v mod5-v mod5mils 65l mod5mils gt12-v1 89l l l deod24-v gt4-v mod5d lu-v lu-v mod mod5-v mod j-e gt gt12-v mod j-e lu-v mod rd rd hw gt4-v lu-v mod5dder hm rd rd sym hw hw hw urf urf urf urf #G(Org.): No. of gtes in originl iruits; #G(Optz.): No. of gtes in optimized iruits; Rd: No. of gtes redued; Rd(%): Perentge of redutions; polrity Toffoli gtes to the results of [16] n help to devise etter understnding of templte mthing nd estimte the numer of totl templtes, ut lso to find rewriting strtegies to guide iruit rewriting s n lterntive to optimiztion. A ost-enefit nlysis of iruits in quntum deomposition would e useful sine the gtes in the resulting iruits hve oth positive nd negtive ontrols. The heuristi of dynmi templte

6 () () () (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) Fig. 6: The set of templtes suessfully used in enhmrks optimiztion () Fig. 7: Reversile iruits with () #gte = 3 nd quntum ost 15 = nd () #gte = 2 nd quntum ost 19 = mthing n e improved y finding the est mthes for given templtes. Moreover, n in-depth nlysis of the use of the 13 templtes shown in Fig. 6 my led to the development of lgorithms for expnsion of gtes in templtes, whih is our future reserh. () REFERENCES [1] M. A. Nielsen nd I. L. Chung, Quntum Computtion nd Quntum Informtion. Cmridge University Press, [2] P. W. Shor, Polynomil-time lgorithms for prime ftoriztion nd disrete logrithms on quntum omputer, SIAM J. Comput., vol. 26, no. 5, pp , [3] T. Toffoli, Reversile omputing, Teh memo MIT/LCS/TM- 151, MIT L for Comp. Si, [4] E. Fredkin nd T. Toffoli, Conservtive logi, Interntionl Journl of Theoretil Physis, vol. 21, pp , [5] D. M. Miller, D. Mslov, nd G. W. Duek, A trnsformtion sed lgorithm for reversile logi synthesis, in Design Automtion Conferene, June [6] D. Mslov nd G. W. Duek, Reversile sdes with miniml grge, IEEE Trns. on CAD of Integrted Ciruits nd Systems, vol. 23, no. 11, pp , [7] A. Breno, C. H. Bennett, R. Cleve, D. DiVinhenzo, N. Mrgolus, P. Shor, T. Sletor, J. Smolin, nd H. Weinfurter, Elementry gtes for quntum omputtion, The Amerin Physil Soiety, vol. 52, pp , [8] D. Mslov, C. Young, G. W. Duek, nd D. M. Miller, Quntum iruit simplifition using templtes, in DATE - Design, Automtion nd Test in Europe, 2005, pp [9] M. M. Rhmn nd G. W. Duek, Templte mthing in quntum iruits optimiztion, in Reed-Muller Workshop, 2013, pp [10] D. Mslov, G. W. Duek, D. M. Miller, nd C. Negrevergne, Quntum iruit simplifition nd level omption, Computer-Aided Design of Integrted Ciruits nd Systems, IEEE Trnstions on, vol. 27, no. 3, pp , [11] R. Wille, M. Soeken, N. Przigod, nd R. Drehsler, Ext synthesis of toffoli gte iruits with negtive ontrol lines, in Multiple-Vlued Logi (ISMVL), nd IEEE Interntionl Symposium on. IEEE, 2012, pp [12] R. Wille, D. Große, L. Teuer, G. W. Duek, nd R. Drehsler, RevLi: An online resoure for reversile funtions nd reversile iruits, in Workshop on Reversile Computtion, July 2010, RevLi is ville t [13] K. Dtt, G. Rthi, R. Wille, I. Sengupt, H. Rhmn, nd R. Drehsler, Exploiting negtive ontrol lines in the optimiztion of reversile iruits, in Reversile Computtion - 5th Interntionl Conferene, RC 2013, Vitori, BC, Cnd, July 4-5, Proeedings, 2013, pp [14] M. Z. Rhmn nd J. E. Rie, Templtes for positive nd negtive ontrol Toffoli networks, in Reversile Computtion - 6th Interntionl Conferene, RC 2014, Kyoto, Jpn, July 10-11, Proeedings, 2014, pp [15] M. Soeken, Z. Ssnin, R. Wille, D. M. Miller, nd R. Drehsler, Optimizing the mpping of reversile iruits to fourvlued quntum gte iruits, in 42nd IEEE Interntionl Symposium on Multiple-Vlued Logi, ISMVL 2012, Vitori, BC, Cnd, My 14-16, 2012, 2012, pp [16] M. Soeken nd M. K. Thomsen, White dots do mtter: Rewriting reversile logi iruits, in Reversile Computtion - 5th Interntionl Conferene, RC 2013, Vitori, BC, Cnd, July 4-5, Proeedings, 2013, pp [17] M. M. Rhmn, G. W. Duek, nd J. D. Horton, An lgorithm for quntum templte mthing, J. Emerg. Tehnol. Comput. Syst., vol. 11, no. 3, pp. 31:1 31:20, De [18] M. M. Rhmn nd G. W. Duek, An lgorithm to find quntum templtes, in IEEE Congress on Evolutionry Computtion, 2012, pp [19] D. M. Miller, R. Wille, nd Z. Ssnin, Elementry quntum gte reliztions for multiple-ontrol Toffoli gtes, in Proeedings of the Interntionl Symposium on Multiple-Vlued Logi, 2011, pp [20] J. Smolin nd D. DiVinenzo, Five two-it quntum gtes re suffiient to implement the quntum Fredkin gte, Physil review. A, vol. 53, no. 4, pp , [21] D. Große, R. Wille, G. W. Duek, nd R. Drehsler, Ext synthesis of elementry quntum gte iruits for reversile funtions with don t res, in Interntionl Symposium on Multiple Vlued Logi, 2008, pp

A Transformation Based Algorithm for Reversible Logic Synthesis

A Transformation Based Algorithm for Reversible Logic Synthesis 2.1 A Trnsformtion Bsed Algorithm for Reversile Logi Synthesis D. Mihel Miller Dept. of Computer Siene University of Vitori Vitori BC V8W 3P6 Cnd mmiller@sr.uvi. Dmitri Mslov Fulty of Computer Siene University

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 22 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

Synthesis, testing and tolerance in reversible logic

Synthesis, testing and tolerance in reversible logic Universit of Lethridge Reserh Repositor OPUS Theses http://opus.uleth. Arts nd Siene, Fult of 2017 Snthesis, testing nd tolerne in reversile logi Nshir, Md Asif Lethridge, Alt. : Universit of Lethridge,

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France)

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France) Grph Sttes EPIT 2005 Mehdi Mhll (Clgry, Cnd) Simon Perdrix (Grenole, Frne) simon.perdrix@img.fr Grph Stte: Introdution A grph-sed representtion of the entnglement of some (lrge) quntum stte. Verties: quits

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

More information

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

Linear choosability of graphs

Linear choosability of graphs Liner hoosility of grphs Louis Esperet, Mikel Montssier, André Rspud To ite this version: Louis Esperet, Mikel Montssier, André Rspud. Liner hoosility of grphs. Stefn Felsner. 2005 Europen Conferene on

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

More information

Learning Partially Observable Markov Models from First Passage Times

Learning Partially Observable Markov Models from First Passage Times Lerning Prtilly Oservle Mrkov s from First Pssge s Jérôme Cllut nd Pierre Dupont Europen Conferene on Mhine Lerning (ECML) 8 Septemer 7 Outline. FPT in models nd sequenes. Prtilly Oservle Mrkov s (POMMs).

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh Computtionl Biology Leture 8: Genome rerrngements, finding miml mthes Sd Mneimneh We hve seen how to rerrnge genome to otin nother one sed on reversls nd the knowledge of the preserved loks or genes. Now

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

arxiv: v1 [quant-ph] 2 Apr 2007

arxiv: v1 [quant-ph] 2 Apr 2007 Towrds Miniml Resoures of Mesurement-sed Quntum Computtion riv:0704.00v1 [qunt-ph] Apr 007 1. Introdution Simon Perdrix PPS, CNRS - niversité Pris 7 E-mil: simon.perdrix@pps.jussieu.fr Astrt. We improve

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver

March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver Mrh eq Implementing Additionl Resoning into n Effiient Look-Ahed SAT Solver Mrijn Heule, Mrk Dufour, Joris vn Zwieten nd Hns vn Mren Deprtment of Informtion Systems nd Algorithms, Fulty of Eletril Engineering,

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

More information

Section 4.4. Green s Theorem

Section 4.4. Green s Theorem The Clulus of Funtions of Severl Vriles Setion 4.4 Green s Theorem Green s theorem is n exmple from fmily of theorems whih onnet line integrls (nd their higher-dimensionl nlogues) with the definite integrls

More information

Qubit and Quantum Gates

Qubit and Quantum Gates Quit nd Quntum Gtes Shool on Quntum omputing @Ygmi Dy, Lesson 9:-:, Mrh, 5 Eisuke Ae Deprtment of Applied Physis nd Physio-Informtis, nd REST-JST, Keio University From lssil to quntum Informtion is physil

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

More information

Computing the Cyclic Edit Distance for Pattern Classification by Ranking Edit Paths

Computing the Cyclic Edit Distance for Pattern Classification by Ranking Edit Paths Computing the Cyli Edit Distne for Pttern Clssifition y Rnking Edit Pths Vítor M. Jiménez, Andrés Mrzl, Viente Plzón, nd Guillermo Peris DLSI, Universitt Jume I, 27 Cstellón, Spin {vjimenez,mrzl,plzon,peris}@uji.es

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

Single-Player and Two-Player Buttons & Scissors Games (Extended Abstract)

Single-Player and Two-Player Buttons & Scissors Games (Extended Abstract) Single-Plyer nd Two-Plyer Buttons & Sissors Gmes (Extended Astrt) Kyle Burke 1, Erik D. Demine 2, Hrrison Gregg 3, Roert A. Hern 4, Adm Hestererg 2, Mihel Hoffmnn 5, Hiro Ito 6, Irin Kostitsyn 7, Jody

More information

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths Intermedite Mth Cirles Wednesdy 17 Otoer 01 Geometry II: Side Lengths Lst week we disussed vrious ngle properties. As we progressed through the evening, we proved mny results. This week, we will look t

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework R-17 SASIMI 015 Proeeings Tehnology Mpping Metho for Low Power Consumption n High Performne in Generl-Synhronous Frmework Junki Kwguhi Yukihie Kohir Shool of Computer Siene, the University of Aizu Aizu-Wkmtsu

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS

A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS Commun. Koren Mth. So. 31 016, No. 1, pp. 65 94 http://dx.doi.org/10.4134/ckms.016.31.1.065 A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS Hrsh Vrdhn Hrsh, Yong Sup Kim, Medht Ahmed Rkh, nd Arjun Kumr Rthie

More information

Synthesis of Quantum Circuits in Linear Nearest Neighbor Model Using Positive Davio Lattices

Synthesis of Quantum Circuits in Linear Nearest Neighbor Model Using Positive Davio Lattices Portln Stte University PDXSholr Eletril n Computer Engineering Fulty Pulitions n Presenttions Eletril n Computer Engineering 4-20 Synthesis of Quntum Ciruits in Liner Nerest Neighor Moel Using Positive

More information

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable INTEGRATION NOTE: These notes re supposed to supplement Chpter 4 of the online textbook. 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd

More information

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

A Non-parametric Approach in Testing Higher Order Interactions

A Non-parametric Approach in Testing Higher Order Interactions A Non-prmetri Approh in Testing igher Order Intertions G. Bkeerthn Deprtment of Mthemtis, Fulty of Siene Estern University, Chenkldy, Sri Lnk nd S. Smit Deprtment of Crop Siene, Fulty of Agriulture University

More information

A Hierarchical Approach to Computer-Aided Design of Quantum Circuits

A Hierarchical Approach to Computer-Aided Design of Quantum Circuits A Hierrhil Approh to Computer-Aided Design of Quntum Ciruits Mrek Perkowski,+* Mrtin Luk,* Mikhil Pivtoriko,* Pwel Kerntopf, & Mihele Folgheriter *, Dongsoo Lee, + Hyungok Kim,+ Woong Hwngo, Jung-wook

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE V.S. Gordeev, G.A. Myskov Russin Federl Nuler Center All-Russi Sientifi Reserh Institute of Experimentl Physis (RFNC-VNIIEF)

More information

Distributed Generation Placement in Unbalanced Distribution System with Seasonal Load Variation

Distributed Generation Placement in Unbalanced Distribution System with Seasonal Load Variation Distriuted Genertion Plement in Unlned Distriution System with Sesonl Lod Vrition Rvi Tej Bhimrsetti Dept. of Eletril Engg., NT Kurukshetr Kurukshetr, ndi svrtej@gmil.om Ashwni Kumr, Memer, EEE Dept. of

More information

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches. Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,

More information

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 orf, R.C., Wn,. T- Equivlent Networks The Eletril Engineering Hndook Ed. Rihrd C. orf Bo Rton: CRC Press LLC, 000 9 T P Equivlent Networks hen Wn University of Cliforni, vis Rihrd C. orf University of

More information

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

More information

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx Clulus Chet Sheet Integrls Definitions Definite Integrl: Suppose f ( ) is ontinuous Anti-Derivtive : An nti-derivtive of f ( ) on [, ]. Divide [, ] into n suintervls of is funtion, F( ), suh tht F = f.

More information

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Siene Deprtment Compiler Design Spring 7 Lexil Anlysis Smple Exerises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sienes Institute 47 Admirlty Wy, Suite

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction Ling 3701H / Psyh 3371H: Leture Notes 9 Hierrhi Sequentil Predition Contents 9.1 Complex events.................................... 1 9.2 Reognition of omplex events using event frgments................

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Semantic Analysis. CSCI 3136 Principles of Programming Languages. Faculty of Computer Science Dalhousie University. Winter Reading: Chapter 4

Semantic Analysis. CSCI 3136 Principles of Programming Languages. Faculty of Computer Science Dalhousie University. Winter Reading: Chapter 4 Semnti nlysis SI 16 Priniples of Progrmming Lnguges Fulty of omputer Siene Dlhousie University Winter 2012 Reding: hpter 4 Motivtion Soure progrm (hrter strem) Snner (lexil nlysis) Front end Prse tree

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

More information

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p Skeptil Rtionl Extensions Artur Mikitiuk nd Miros lw Truszzynski University of Kentuky, Deprtment of Computer Siene, Lexington, KY 40506{0046, frtur mirekg@s.engr.uky.edu Astrt. In this pper we propose

More information

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

Efficient Parameterized Algorithms for Data Packing

Efficient Parameterized Algorithms for Data Packing Effiient Prmeterized Algorithms for Dt Pking Krishnendu Chtterjee, Amir Kfshdr Gohrshdy, Nstrn Okti, Andres Pvloginnis To ite this version: Krishnendu Chtterjee, Amir Kfshdr Gohrshdy, Nstrn Okti, Andres

More information

1. Logic verification

1. Logic verification . Logi verifition Bsi priniples of OBDD s Vrile ordering Network of gtes => OBDD s FDD s nd OKFDD s Resoning out iruits Struturl methods Stisfiility heker Logi verifition The si prolem: prove tht two iruits

More information

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection NMOS Trnsistors in Series/Prllel onnetion Leture 6 MOS Stti & ynmi Logi Gtes Trnsistors n e thought s swith ontrolled y its gte signl NMOS swith loses when swith ontrol input is high Peter heung eprtment

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Maintaining Mathematical Proficiency

Maintaining Mathematical Proficiency Nme Dte hpter 9 Mintining Mthemtil Profiieny Simplify the epression. 1. 500. 189 3. 5 4. 4 3 5. 11 5 6. 8 Solve the proportion. 9 3 14 7. = 8. = 9. 1 7 5 4 = 4 10. 0 6 = 11. 7 4 10 = 1. 5 9 15 3 = 5 +

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then. pril 8, 2017 Mth 9 Geometry Solving vetor prolems Prolem Prove tht if vetors nd stisfy, then Solution 1 onsider the vetor ddition prllelogrm shown in the Figure Sine its digonls hve equl length,, the prllelogrm

More information

A Hierarchical Approach to Computer-Aided Design of Quantum Circuits

A Hierarchical Approach to Computer-Aided Design of Quantum Circuits A ierrhil Approh to Computer-Aided Design of Quntum Ciruits Mrek Perkowski,+* Mrtin Luk,* Mikhil Pivtoriko,* Pwel Kerntopf, & Mihele Folgheriter ^, Dongsoo Lee, + yungok Kim,+ oong wngo, Jung-wook Kim+

More information

Hardware Verification 2IMF20

Hardware Verification 2IMF20 Hrdwre Verifition 2IMF20 Julien Shmltz Leture 02: Boolen Funtions, ST, CEC Course ontent - Forml tools Temporl Logis (LTL, CTL) Domin Properties System Verilog ssertions demi & Industrils Proessors Networks

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

Electromagnetism Notes, NYU Spring 2018

Electromagnetism Notes, NYU Spring 2018 Eletromgnetism Notes, NYU Spring 208 April 2, 208 Ation formultion of EM. Free field desription Let us first onsider the free EM field, i.e. in the bsene of ny hrges or urrents. To tret this s mehnil system

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

Ch. 2.3 Counting Sample Points. Cardinality of a Set

Ch. 2.3 Counting Sample Points. Cardinality of a Set Ch..3 Counting Smple Points CH 8 Crdinlity of Set Let S e set. If there re extly n distint elements in S, where n is nonnegtive integer, we sy S is finite set nd n is the rdinlity of S. The rdinlity of

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information