3 Oct 19:47 2015

### Defining a set of symbols that commute with another set of symbols

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')

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 sympy+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

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.