<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cut_matrix(self, n):
 """Compute the cut matrix for this cut. The cut matrix is a square matrix which represents connections severed by the cut. Args: n (int):
 The size of the network. Example: array([[0., 0., 0.], [0., 0., 1.], [0., 0., 0.]]) """

        return connectivity.relevant_connections(n, self.from_nodes,
                                                 self.to_nodes)