conf['nqubits'] = 2
conf['ndetectors'] = 2
conf['crosstalk'] = np.array([
[0.13221941191745637,0.3278363220004897,0.31158132823141615,0.35946128571132296],
[0.4238849345052957,0.11997233939303077,0.050969491682357954,0.023728027069474522],
[0.1678947873244194,0.04752157129700209,0.3014881807630643,0.22677141107816967],
[0.2760008662528286,0.5046697673094775,0.33596099932316165,0.39003927614103284]])
conf['bellstate'] = True
conf['dodriftcorrection'] = 1
conf['doaccidentalcorrection'] = 1
conf['doerrorestimation'] = 3
conf['window'] = np.array([
100000.0,100000.0,100000.0,100000.0])
conf['efficiency'] = np.array([
1.0,1.0,1.0,1.0])
conf['rhostart'] = []
conf['beta'] = 0
conf['usederivative'] = 1
conf['method'] = 'LINEAR'
tomo_input = np.array([
[(1.0089806529457421+0j),(1720.4840884186524+0j),(1363.0475890726743+0j),(1609.7554517501007+0j),(401.60640118750666+0j),(180+0j),(58+0j),(164+0j),(76+0j),(1+0j),0j,(1+0j),0j],
[(1.7067016129038892+0j),(18.52861985308829+0j),(1050.2467939084936+0j),(1570.6706462412822+0j),(762.2742973340353+0j),(158+0j),(50+0j),(367+0j),(377+0j),(1+0j),0j,(0.7071067811865476+0j),(0.7071067811865476+0j)],
[(1.4739584884656591+0j),(382.9136853384294+0j),(971.7810016545035+0j),(470.1814729657137+0j),(19.05976295323142+0j),(12+0j),(2+0j),(10+0j),(8+0j),(1+0j),0j,(0.7071067811865476+0j),0.7071067811865476j],
[(1.6586129700919856+0j),(1494.3465164008946+0j),(1939.5298237560778+0j),(1747.0256434462267+0j),(1830.2299155802223+0j),(173+0j),(151+0j),(194+0j),(209+0j),(0.7071067811865476+0j),(0.7071067811865476+0j),(1+0j),0j],
[(1.1697468658718209+0j),(913.1726113204262+0j),(802.3058874525179+0j),(81.80869706923022+0j),(1213.126467580626+0j),(408+0j),(431+0j),(131+0j),(248+0j),(0.7071067811865476+0j),(0.7071067811865476+0j),(0.7071067811865476+0j),(0.7071067811865476+0j)],
[(1.0577020881253518+0j),(1338.3539315314797+0j),(1573.6690326595692+0j),(583.787114297798+0j),(1434.2093895961157+0j),(909+0j),(788+0j),(410+0j),(541+0j),(0.7071067811865476+0j),(0.7071067811865476+0j),(0.7071067811865476+0j),0.7071067811865476j],
[(1.7640158468060516+0j),(1241.0288449224347+0j),(1492.7046984826704+0j),(914.7253678691172+0j),(1544.0350737662638+0j),(101+0j),(99+0j),(69+0j),(96+0j),(0.7071067811865476+0j),0.7071067811865476j,(1+0j),0j],
[(1.8862008508352828+0j),(229.81578554243742+0j),(928.3891468746986+0j),(56.206716078059046+0j),(1518.372786888441+0j),(75+0j),(109+0j),(51+0j),(118+0j),(0.7071067811865476+0j),0.7071067811865476j,(0.7071067811865476+0j),(0.7071067811865476+0j)],
[(1.0679391322072238+0j),(871.5784038717127+0j),(577.6391519296996+0j),(149.99304228112044+0j),(667.5083620050433+0j),(92+0j),(96+0j),(30+0j),(68+0j),(0.7071067811865476+0j),0.7071067811865476j,(0.7071067811865476+0j),0.7071067811865476j]])
intensity = np.array([0.800642405955706,1.686111440889188,0.3922692689984084,0.8992676699616802,1.8996225974510563,1.9270751685141223,0.826512980329088,1.3217232258486924,1.0000207611505458])