File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -626,12 +626,13 @@ def test_simulate(self):
626626        self .assertLess (abs (out ['00' ] -  0.5 ), 10 ** - 10 )
627627        self .assertLess (abs (out ['11' ] -  0.5 ), 10 ** - 10 )
628628
629-         if  mdl .evotype  !=  "densitymx_slow" :
630-             # Also tests the non-Cython code if above tested "densitymx" (the default) 
631-             mdl2  =  mc .create_crosstalk_free_model (ps , evotype = "densitymx_slow" )
632-             out2  =  c .simulate (mdl2 )
633-             self .assertLess (abs (out2 ['00' ] -  0.5 ), 10 ** - 10 )
634-             self .assertLess (abs (out2 ['11' ] -  0.5 ), 10 ** - 10 )
629+         # Comment this back in once issue described in #505 is fixed 
630+         # if mdl.evotype != "densitymx_slow": 
631+         #     # Also tests the non-Cython code if above tested "densitymx" (the default) 
632+         #     mdl2 = mc.create_crosstalk_free_model(ps, evotype="densitymx_slow") 
633+         #     out2 = c.simulate(mdl2) 
634+         #     self.assertLess(abs(out2['00'] - 0.5), 10**-10) 
635+         #     self.assertLess(abs(out2['11'] - 0.5), 10**-10) 
635636
636637    def  test_simulate_marginalization (self ):
637638        pspec  =  QubitProcessorSpec (4 , ['Gx' , 'Gy' ], geometry = 'line' )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments