answered 1 year ago
Like this
sage: m = matrix(ZZ,2,2,[1,1,0,1]) sage: Poset(DiGraph(m-1, loops=False)) Finite poset containing 2 elements