Create partial_transpose