[sympy] Defining pairwise commuting operators

2015-10-04 Thread Vincent Russo
Hello, I'd like to see if there is a way to define operators that do not commute with themselves, but do commute with elements from a different set. For instance, from sympy import * from sympy.physics.quantum.operator import HermitianOperator, Operator A0 = HermitianOperator('A0') A1 = Her

[sympy] Defining a set of symbols that commute with another set of symbols

2015-10-03 Thread Vincent Russo
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 c

Re: [sympy] New to SymPy: Quantum Information and SymPy for GSoC 2015

2014-12-01 Thread Vincent Russo
tps://github.com/sympy/sympy/wiki/introduction-to-contributing > > to see how to get started. Ondrej Certik and Brian Ganger are probably > good people to touch base with about the quantum physics stuff. > > > Jason > moorepants.info > +01 530-601-9791 > > On Mon

[sympy] New to SymPy: Quantum Information and SymPy for GSoC 2015

2014-12-01 Thread Vincent Russo
Hi everyone! My name is Vincent, and I am currently pursuing a PhD in computer science with a specialization in quantum information at the University of Waterloo. I am interested in building on the quantum physics package included in SymPy for a GSoC 2015 project. Namely, there are functions th