Braiding quantum gates from partition algebras