Pete Shadbolt 
							
						 
						
							
							
							
								
							
								f4631c552f 
								
							
								 
							
						 
						
							
							
								
								Fix   #7  -- alias literal clifford.by_names  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								
								Pete Shadbolt 
							
						 
						
							
							
							
								
							
								05b12a7bf1 
								
							
								 
							
						 
						
							
							
								
								Removed `fancy.GraphState.from_nx` -- "just works"  
							
							Moved that functionality into `abp.GraphState`, so that you can
just run `state = abp.GraphState(nx.Graph(((0,1),)))`, `state =
abp.fancy.GraphState(nx.Graph(((0,1),))` or whatever. 
							
						 
						9 yıl önce  
				
					
						
							
							
								
								Pete Shadbolt 
							
						 
						
							
							
							
								
							
								577e917732 
								
							
								 
							
						 
						
							
							
								
								More convenient networkx -> abp conversion  
							
							Now you can write `abp.fancy.GraphState(nx.Graph())`.
TODO: make this work for a non-fancy `GraphState` 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b443d7d01 
								
							
								 
							
						 
						
							
							
								
								Purge `add_node`, add `add_qubit`  
							
							Trying to get more sensible defaults for people who like to think about
graphstates rather than circuits.
Repsponse to issue #4 : [Link](https://github.com/peteshadbolt/abp/issues/4 ) 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf22c0f5e7 
								
							
								 
							
						 
						
							
							
								
								Skip tests that depend on the original C++  
							
							I have written a tonne of tests that compare against A&B's original C++.
Until I can distribute the `anders_briegel` package which implements
that original code, we now skip those tests if we see an ImportError.
TODO: seems a little over-zealous right now ... 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dbd70e046 
								
							
								 
							
						 
						
							
							
								
								Add and test `GraphState.to_stabilizer()` :rage4:  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b41cc7945d 
								
							
								 
							
						 
						
							
							
								
								Add better notation  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								277f6a2d4f 
								
							
								 
							
						 
						
							
							
								
								PEP8  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								775eea02bb 
								
							
								 
							
						 
						
							
							
								
								Add a couple more tests  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								02b2f1f3c3 
								
							
								 
							
						 
						
							
							
								
								Various small requests from Mercedes  
							
							- `GraphState.copy()`
- `measure_x` etc.
- `measure(detail=True)`
- Better documentation on `remove_vop` and `act_local_rotation` 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccabb2b7b5 
								
							
								 
							
						 
						
							
							
								
								Running Mercedes' example  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								6107946244 
								
							
								 
							
						 
						
							
							
								
								Pratting with MANIFEST  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								49478d4017 
								
							
								 
							
						 
						
							
							
								
								100% test passing :feelsgood:  
							
							Still need to "test the tests", but it's looking good. 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								7016e75be6 
								
							
								 
							
						 
						
							
							
								
								Cleaner measurement testing  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b878528cce 
								
							
								 
							
						 
						
							
							
								
								Another one down  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								4124405697 
								
							
								 
							
						 
						
							
							
								
								Starting to refactor tests against A&B  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								88b99cc22a 
								
							
								 
							
						 
						
							
							
								
								Test passing, still need to do the nightmare  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								55704d44a6 
								
							
								 
							
						 
						
							
							
								
								Better integration of `mock`  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5e7e5d9b3 
								
							
								 
							
						 
						
							
							
								
								Better integration of ``mock``  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6f6ccd08d 
								
							
								 
							
						 
						
							
							
								
								Still crunching thru tests  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b6963c95e 
								
							
								 
							
						 
						
							
							
								
								Tidying tests  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								9776d3e10a 
								
							
								 
							
						 
						
							
							
								
								Better mocking - not finished  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7ae201fb2 
								
							
								 
							
						 
						
							
							
								
								Cleaning up tests -- not finished  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9c75d01a9 
								
							
								 
							
						 
						
							
							
								
								Consolidate test settings  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3ac940a17 
								
							
								 
							
						 
						
							
							
								
								Better naming  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								140a9cd7ba 
								
							
								 
							
						 
						
							
							
								
								Very good! Tests pass :rage4: :gun:  
							
							Next up is just to clean those tests and replace the stupid
act_local_rotation2 with something legible. 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bd4914cd2 
								
							
								 
							
						 
						
							
							
								
								Test passing  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d18fd2f91 
								
							
								 
							
						 
						
							
							
								
								Small fix  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1c4617398 
								
							
								 
							
						 
						
							
							
								
								Add test graphs  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								6dfd43955b 
								
							
								 
							
						 
						
							
							
								
								Still not quite there  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f7bcb05be 
								
							
								 
							
						 
						
							
							
								
								Add more tests  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5789f6152 
								
							
								 
							
						 
						
							
							
								
								Fix nondeterministic error in measure_x  
							
							Looks like nondeterminism in `next(d.iterkeys())` was breaking
consistency with A&B. Next up: switching determinism on or off. 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6384448e3 
								
							
								 
							
						 
						
							
							
								
								Fixed `GraphState.measure_y`  
							
							Had a dumb translation error 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								784f9d27dc 
								
							
								 
							
						 
						
							
							
								
								Add simple tests  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								0229de062b 
								
							
								 
							
						 
						
							
							
								
								Very test passing  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								9623abfa10 
								
							
								 
							
						 
						
							
							
								
								Think I just did something right  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d2346ae9c 
								
							
								 
							
						 
						
							
							
								
								Not much  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b31fb544bf 
								
							
								 
							
						 
						
							
							
								
								Found a nasty bug  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								1cb6a3b3c9 
								
							
								 
							
						 
						
							
							
								
								All single-qubit tests are now passing :rage3:  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								04afcae7da 
								
							
								 
							
						 
						
							
							
								
								Test passing, but  
							
							Some tests are disabled and forcing outcomes does not work 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								c793418517 
								
							
								 
							
						 
						
							
							
								
								Simplify measurement table  
							
							Dunno why it was ever `complex` 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								27df07bd52 
								
							
								 
							
						 
						
							
							
								
								Not there yet  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								924e240285 
								
							
								 
							
						 
						
							
							
								
								Add a probabilistic test  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								19972159e5 
								
							
								 
							
						 
						
							
							
								
								Needed to actually `return`  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								26569dfc32 
								
							
								 
							
						 
						
							
							
								
								Working on measure_x  
							
							Added some more terms to clifford.by_name to ease lookup of complex
conjugates
Added GraphState.toggle_edges(), used by GraphState.measure_x
Nearly finished GraphState.measure_x 
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								4646554779 
								
							
								 
							
						 
						
							
							
								
								Fix GraphState.to_json() for tuple-like nodes  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d9c202a50 
								
							
								 
							
						 
						
							
							
								
								Need to clone measure_x and measure_y  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								45bcdf1cca 
								
							
								 
							
						 
						
							
							
								
								Move lookup tables into a generated module  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4872397e9 
								
							
								 
							
						 
						
							
							
								
								Progress towards working measurement  
							
							
								
							
							
						 
						9 yıl önce  
				
					
						
							
							
								 
						
							
							
							
								
							
								e398d39aae 
								
							
								 
							
						 
						
							
							
								
								Remove adj_list()  
							
							
								
							
							
						 
						9 yıl önce