def METHOD_NAME(self, num_qubits):
    """Test stabilizer state decomposition for linear-nearest-neighbour (LNN) connectivity."""
    rng = np.random.default_rng(1234)
    samples = 10
    for _ in range(samples):
        cliff = random_clifford(num_qubits, seed=rng)
        stab = StabilizerState(cliff)
        circ = synth_stabilizer_depth_lnn(stab)
        # Check that the stabilizer state circuit 2-qubit depth equals 2*n+2
        depth2q = (circ.decompose()).depth(
            filter_function=lambda x: x.operation.num_qubits == 2
        )
        self.assertTrue(depth2q == 2 * num_qubits + 2)
        # Check that the stabilizer state circuit has linear nearest neighbour connectivity
        self.assertTrue(check_lnn_connectivity(circ.decompose()))
        stab_target = StabilizerState(circ)
        # Verify that the two stabilizers generate the same state
        self.assertTrue(stab.equiv(stab_target))
        # Verify that the two stabilizers produce the same probabilities
        self.assertEqual(stab.probabilities_dict(), stab_target.probabilities_dict())