Adjacency matrix of a bipartite graph