Hello, 

I'd like to know if there is some way to define two sets of symbols, say:

A00,A01,A10,A11 = symbols('A00, A01, A10, A11')
B00,B01,B10,B11 = symbols('B00, B01, B10, B11')

such that each Aab commutes with Bcd for all a,b,c,d \in {0,1}. 

I think the trick here is that a single symbol may commute with more than 
just one other symbol. Is there anyway to do this in Sympy? 

Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5a6c44f9-1a8f-44e0-afca-4b3ad5bd819a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to