<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Black Hole Entropy</title>
	<atom:link href="http://bhentropy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bhentropy.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 17 Apr 2009 15:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bhentropy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Black Hole Entropy</title>
		<link>http://bhentropy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bhentropy.wordpress.com/osd.xml" title="Black Hole Entropy" />
	<atom:link rel='hub' href='http://bhentropy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Success!</title>
		<link>http://bhentropy.wordpress.com/2009/04/17/success/</link>
		<comments>http://bhentropy.wordpress.com/2009/04/17/success/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 15:35:21 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=81</guid>
		<description><![CDATA[Earlier this week, Prof. Khanna noticed that the graphs in Corichi&#8217;s article seem to sample more than one point per integer incrementation of (for example, it looks like there are 30 or so points between A = 50 and A = 60).  I played around with the incrementation and found that the finer the points, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=81&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earlier this week, Prof. Khanna noticed that the graphs in Corichi&#8217;s article seem to sample more than one point per integer incrementation of <img src='http://s0.wp.com/latex.php?latex=A_0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='A_0' title='A_0' class='latex' /> (for example, it looks like there are 30 or so points between A = 50 and A = 60).  I played around with the incrementation and found that the finer the points, the more my graph was getting shifted up. Why would adding more points increase the graph&#8217;s offset? Because my code wasn&#8217;t resetting the counting variable between <img src='http://s0.wp.com/latex.php?latex=A_0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='A_0' title='A_0' class='latex' />&#8216;s. The number of states listed as being from one area was actually the sum of all the states for all the areas up to that one. Adding one line of code, I get:</p>
<p><img class="aligncenter size-full wp-image-82" title="fig5" src="http://bhentropy.files.wordpress.com/2009/04/fig5.jpg?w=450&#038;h=337" alt="fig5" width="450" height="337" />Now, even though this osculating term is below <img src='http://s0.wp.com/latex.php?latex=S+%3D+%5Cfrac%7B1%7D%7B4%7DA+-+%5Cfrac%7B1%7D%7B2%7D%5Cln+A+-+0.7426&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='S = &#92;frac{1}{4}A - &#92;frac{1}{2}&#92;ln A - 0.7426' title='S = &#92;frac{1}{4}A - &#92;frac{1}{2}&#92;ln A - 0.7426' class='latex' />, it seems to agree with Corichi&#8217;s results to the best of my ability to squint at them.</p>
<p>Easy part&#8217;s over. Time to get this thing to run fast.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=81&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/04/17/success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/fig5.jpg" medium="image">
			<media:title type="html">fig5</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking at Error</title>
		<link>http://bhentropy.wordpress.com/2009/04/15/looking-at-error/</link>
		<comments>http://bhentropy.wordpress.com/2009/04/15/looking-at-error/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:42:09 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=75</guid>
		<description><![CDATA[I ran the counting for values of from 0.1 to 2.0 to see how it effects agreement with analytic results. Let the error in a counting be defined to be the difference between the theoretical prediction, adjusted to agree with the results of myself and Corichi, and the numeric result. This error is oscillatory, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=75&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ran the counting for values of <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> from 0.1 to 2.0 to see how it effects agreement with analytic results. Let the error in a counting be defined to be the difference between the theoretical prediction, adjusted to agree with the results of myself and Corichi, <img src='http://s0.wp.com/latex.php?latex=S%28A%29+%3D+%5Cfrac%7B1%7D%7B4%7DA+-%5Cfrac%7B1%7D%7B2%7D%5Cln+A+-0.7767&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='S(A) = &#92;frac{1}{4}A -&#92;frac{1}{2}&#92;ln A -0.7767' title='S(A) = &#92;frac{1}{4}A -&#92;frac{1}{2}&#92;ln A -0.7767' class='latex' /> and the numeric result. This error is oscillatory, and we can see the oscillations die out as <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> increases.</p>
<p><img class="aligncenter size-full wp-image-76" title="amp-vs-da" src="http://bhentropy.files.wordpress.com/2009/04/amp-vs-da.jpg?w=450&#038;h=337" alt="amp-vs-da" width="450" height="337" />Why might the oscillations increas a bit after <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 1' title='&#92;delta A = 1' class='latex' />? With a bigger <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> more states will satisfy <img src='http://s0.wp.com/latex.php?latex=8%5Cpi+%5Cgamma+%5Csum_%7Bi%3D1%7D%5En%5Csqrt%7Bj_i%28j_i%2B1%29%7D+%5Cin+%5BA_0+-%5Cdelta+A%2C+A_0+%2B+%5Cdelta+A%5D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='8&#92;pi &#92;gamma &#92;sum_{i=1}^n&#92;sqrt{j_i(j_i+1)} &#92;in [A_0 -&#92;delta A, A_0 + &#92;delta A]' title='8&#92;pi &#92;gamma &#92;sum_{i=1}^n&#92;sqrt{j_i(j_i+1)} &#92;in [A_0 -&#92;delta A, A_0 + &#92;delta A]' class='latex' />. When <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+0.5&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 0.5' title='&#92;delta A = 0.5' class='latex' /> some of these states will overlap. Maybe the number of overlapping states becomes apreciable around 1? I&#8217;m not sure.</p>
<p>Looking at the average error it seems like the numerical result is converging to something:</p>
<p><img class="aligncenter size-full wp-image-77" title="ave-vs-da" src="http://bhentropy.files.wordpress.com/2009/04/ave-vs-da.jpg?w=450&#038;h=337" alt="ave-vs-da" width="450" height="337" />Since the slope at <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 2' title='&#92;delta A = 2' class='latex' /> is still pretty large, compared to zero, I can&#8217;t tell what the average error is converging to. Thinking about it a little more, when <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> gets big enough the algorithm will just count every possible set of j&#8217;s for every area. The sweet spot where the error is minimal looks like <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%5Capprox+0.7&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A &#92;approx 0.7' title='&#92;delta A &#92;approx 0.7' class='latex' />.</p>
<p>The algorithm is finally working. Now it&#8217;s time to make it work faster.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=75&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/04/15/looking-at-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/amp-vs-da.jpg" medium="image">
			<media:title type="html">amp-vs-da</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/ave-vs-da.jpg" medium="image">
			<media:title type="html">ave-vs-da</media:title>
		</media:content>
	</item>
		<item>
		<title>More Interesting Results</title>
		<link>http://bhentropy.wordpress.com/2009/04/11/more-interesting-results/</link>
		<comments>http://bhentropy.wordpress.com/2009/04/11/more-interesting-results/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 18:13:41 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=66</guid>
		<description><![CDATA[In my attempt to implement the projection constraint, I has each being incremented by 0.5 at each cycle. This is incorrect for the reason that the &#8216;s are spins and as such can only take jumps of 1. With this change I immediately get: At first glance these results seem pretty good, but it gets [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=66&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my attempt to implement the projection constraint, I has each <img src='http://s0.wp.com/latex.php?latex=m_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='m_i' title='m_i' class='latex' /> being incremented by 0.5 at each cycle. This is incorrect for the reason that the <img src='http://s0.wp.com/latex.php?latex=m_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='m_i' title='m_i' class='latex' />&#8216;s are spins and as such can only take jumps of 1. With this change I immediately get:</p>
<div id="attachment_67" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-67" title="fig2" src="http://bhentropy.files.wordpress.com/2009/04/fig2.jpg?w=450&#038;h=337" alt="fig2" width="450" height="337" /><p class="wp-caption-text">My Initial Results</p></div>
<p>At first glance these results seem pretty good, but it gets better. Corichi et al get that adding in the projection constraint intruduces an oscillatory correction which is on average logarithmic, as below:</p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 454px"><img class="size-full wp-image-69" title="corichipc" src="http://bhentropy.files.wordpress.com/2009/04/corichipc.jpg?w=444&#038;h=278" alt="corichipc" width="444" height="278" /><p class="wp-caption-text">Corichi et al&#39;s Results: The top curve doesn&#39;t include the PC, the bottom one does.</p></div>
<p style="text-align:left;">Elsewhere in their article, the authors increase the tolerance from <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+0.5&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 0.5' title='&#92;delta A = 0.5' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 2' title='&#92;delta A = 2' class='latex' /> to reduce the oscillations, while keeping the average logarithmic correction. I tried reducing <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> to try an get the oscillatory behaviour shown above, but instead it had the effect of linearly shifting down the whole entropy curve. Likewise, increasing <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> has the effect of shifting up the whole graph. For <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A+%3D+0.7&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A = 0.7' title='&#92;delta A = 0.7' class='latex' /> I get an excellent fit:</p>
<p style="text-align:left;">
<div id="attachment_70" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-70" title="fig41" src="http://bhentropy.files.wordpress.com/2009/04/fig41.jpg?w=450&#038;h=337" alt="\delta A = 0.7" width="450" height="337" /><p class="wp-caption-text">dA = 0.7</p></div>
<p>When examining the error (i.e. the difference between the result and <img src='http://s0.wp.com/latex.php?latex=S+%3D+%5Cfrac%7B1%7D%7B4%7DA-%5Cfrac%7B1%7D%7B2%7D%5Cln%7Ba%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='S = &#92;frac{1}{4}A-&#92;frac{1}{2}&#92;ln{a}' title='S = &#92;frac{1}{4}A-&#92;frac{1}{2}&#92;ln{a}' class='latex' />) it is very clear that good agreement begins when A = 61. This seems odd at first, but in several articles on quantum black holes the authors of those articles mention that spin-1/2 edges can only exist for <img src='http://s0.wp.com/latex.php?latex=A+%5Cgeq+61&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='A &#92;geq 61' title='A &#92;geq 61' class='latex' />. I haven&#8217;t been able to find an explanation for this, though.</p>
<p>My plans for the future are to run the counting for areas between 61 and 125 (arbitrary) with varying values of <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+A&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;delta A' title='&#92;delta A' class='latex' /> and see how that effects the average error and the magnitude of oscillations in that error.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=66&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/04/11/more-interesting-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/fig2.jpg" medium="image">
			<media:title type="html">fig2</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/corichipc.jpg" medium="image">
			<media:title type="html">corichipc</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/fig41.jpg" medium="image">
			<media:title type="html">fig41</media:title>
		</media:content>
	</item>
		<item>
		<title>Good News, Strange News</title>
		<link>http://bhentropy.wordpress.com/2009/04/09/good-news-strange-news/</link>
		<comments>http://bhentropy.wordpress.com/2009/04/09/good-news-strange-news/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:56:08 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=59</guid>
		<description><![CDATA[First the good: After a whole week of analyzing the algorithm, searching for errors, I came up empty handed. Every little piece seems to be doing its part correctly. I read through some articles to try and figure out if my scheme is leaving out any states and couldn&#8217;t find anything. Eventually, I had a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=59&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First the good: After a whole week of analyzing the algorithm, searching for errors, I came up empty handed. Every little piece seems to be doing its part correctly. I read through some articles to try and figure out if my scheme is leaving out any states and couldn&#8217;t find anything. Eventually, I had a really close look at the results of Corichi (whom I&#8217;m trying to mimic for now). They claim that their results, sans projection constraint, are linear with a slope of 1/4. They also mention, as is verified in other articles, that LQG&#8217;s prediction is that, again sans projection constraint, the relationship between event horizon surface area and entropy is <img src='http://s0.wp.com/latex.php?latex=S%28A%29+%3D+%5Cfrac%7B1%7D%7B4%7DA&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='S(A) = &#92;frac{1}{4}A' title='S(A) = &#92;frac{1}{4}A' class='latex' />. Here&#8217;s the rub: their data doesn&#8217;t match this function. Holding a ruler up to thier results, I found that the y-intercept isn&#8217;t zero.</p>
<p><img class="aligncenter size-full wp-image-60" title="graph" src="http://bhentropy.files.wordpress.com/2009/04/graph.jpg?w=450&#038;h=267" alt="graph" width="450" height="267" />In the above figure, I added the dotted line near the origin to illustrate the point. It seems like my results do agree with theirs after all.</p>
<p>Now it&#8217;s time to apply the projection constraint. I wrote a bit of code simillar to that which counts states to consider all possible combinations of <img src='http://s0.wp.com/latex.php?latex=m_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='m_i' title='m_i' class='latex' />&#8216;s such that <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5Enm_i+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sum_{i=1}^nm_i = 0' title='&#92;sum_{i=1}^nm_i = 0' class='latex' />. I really expected it to work since it&#8217;s super-brute-force, i.e. it checks every combination of <img src='http://s0.wp.com/latex.php?latex=m_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='m_i' title='m_i' class='latex' />&#8216;s with <img src='http://s0.wp.com/latex.php?latex=-j_i+%5Cleq+m_i+%5Cleq+j_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='-j_i &#92;leq m_i &#92;leq j_i' title='-j_i &#92;leq m_i &#92;leq j_i' class='latex' /> to see if it satisfies the projection constraint. Here&#8217;s what I got:</p>
<p><img class="aligncenter size-full wp-image-61" title="fig1" src="http://bhentropy.files.wordpress.com/2009/04/fig1.jpg?w=450&#038;h=337" alt="fig1" width="450" height="337" />Something&#8217;s up. Imposing the projection constraint should reduce the number of acceptable states, not increase it. I looked at how the algorithm counts these m-states for some small n values so I could easily confirm the results by hand. It seems to be working fine for the few randomly selected n = 2 and n = 3 states I checked. Since the algorithm now over-estimates, there must be lots of j-states where the number of projection constraint m-states is greater than <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7Bi%3D1%7D%5En%282j_i%2B1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{i=1}^n(2j_i+1)' title='&#92;prod_{i=1}^n(2j_i+1)' class='latex' />. The first such state is for <img src='http://s0.wp.com/latex.php?latex=A_0+%3D+50%2C+n+%3D+6%2C+%5Cvec%7Bj%7D+%3D+%5C%7B0.5%2C0.5%2C0.5%2C0.5%2C0.5%2C2.5+%5C%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='A_0 = 50, n = 6, &#92;vec{j} = &#92;{0.5,0.5,0.5,0.5,0.5,2.5 &#92;}' title='A_0 = 50, n = 6, &#92;vec{j} = &#92;{0.5,0.5,0.5,0.5,0.5,2.5 &#92;}' class='latex' />. Here, <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7Bi%3D1%7D%5E6%282j_i%2B1%29%3D+192&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{i=1}^6(2j_i+1)= 192' title='&#92;prod_{i=1}^6(2j_i+1)= 192' class='latex' /> yet the algorithm counts 243 acceptable states. To check this out I had the algorithm save all these m-states to a text file and manipulated it in Matlab. I found that all of these states do indeed satisfy <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5Enm_i+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sum_{i=1}^nm_i = 0' title='&#92;sum_{i=1}^nm_i = 0' class='latex' />. More disturbing is that all of these states are unique. How can there be more unique combinations satisfying a constraint then there are combinations total?! That&#8217;s where I&#8217;m at now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=59&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/04/09/good-news-strange-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/graph.jpg" medium="image">
			<media:title type="html">graph</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/fig1.jpg" medium="image">
			<media:title type="html">fig1</media:title>
		</media:content>
	</item>
		<item>
		<title>Oops</title>
		<link>http://bhentropy.wordpress.com/2009/04/01/oops/</link>
		<comments>http://bhentropy.wordpress.com/2009/04/01/oops/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 18:32:03 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=54</guid>
		<description><![CDATA[I should really learn to read better. The equation of the line I&#8217;ve been calling Corichi&#8217;s results in previous posts is not right. I measured the slope off their paper using a ruler and assumed a y-intercept of 1 thinking &#8220;at zero surface area there can be only one state.&#8221; First, a zero event horizon [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=54&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I should really learn to read better. The equation of the line I&#8217;ve been calling Corichi&#8217;s results in previous posts is not right. I measured the slope off their paper using a ruler and assumed a y-intercept of 1 thinking &#8220;at zero surface area there can be only one state.&#8221; First, a zero event horizon surface area is unphysical. Secondly, these graphs have been of entropy, not number of states. Finally, the actual slope of Corichi&#8217;s results is 0.25, as they state in their article. So, accounting for all of that and without changing the code at all, I get this:</p>
<p><img class="aligncenter size-full wp-image-55" title="fig4" src="http://bhentropy.files.wordpress.com/2009/04/fig4.jpg?w=450&#038;h=337" alt="fig4" width="450" height="337" />Much better. The error looks a lot better, too:</p>
<p><img class="aligncenter size-full wp-image-56" title="error" src="http://bhentropy.files.wordpress.com/2009/04/error.jpg?w=450&#038;h=337" alt="error" width="450" height="337" />Here&#8217;s some quick info about this error. The average is 0.8259, it appears to be converging on 0.7767. The average not counting the tail between Area = 50 and Area = 60 is 0.7426. Having the entropy be off by a constant implies that the number of states is off by a multiplicative factor of $latex  e^{-0.7767} \approx 0.4599$. So, apparently my algorithm is counting about half as many states as it should. I suspect this has to do with the degeneracy factor introduced in the last post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=54&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/04/01/oops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/fig4.jpg" medium="image">
			<media:title type="html">fig4</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/04/error.jpg" medium="image">
			<media:title type="html">error</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Yet</title>
		<link>http://bhentropy.wordpress.com/2009/03/30/best-yet/</link>
		<comments>http://bhentropy.wordpress.com/2009/03/30/best-yet/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 19:29:31 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=46</guid>
		<description><![CDATA[First, a word of caution: When comparing graphs I post, be sure to look at the range of the x-axis. Most of them start at Area = 50 , but their upper limits may differ. This is because I run the algorithm for as long as I have patience for (a few seconds if I&#8217;m [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=46&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First, a word of caution: When comparing graphs I post, be sure to look at the range of the x-axis. Most of them start at Area = 50 <img src='http://s0.wp.com/latex.php?latex=l_p%5E2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='l_p^2' title='l_p^2' class='latex' />, but their upper limits may differ. This is because I run the algorithm for as long as I have patience for (a few seconds if I&#8217;m at my desk working, a few hours if I&#8217;m leaving to go to class,  overnight if I&#8217;m going to bed, etc) when generating sample images.</p>
<p>Last week, Prof. Khanna gave me a very valuable tip. In this counting, we do want to count states I had previously considered degenerate: permutations of states. For example, the states <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C1%2C2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,1,2)' title='&#92;vec{j} = (1/2,1,2)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%282%2C1%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (2,1,1/2)' title='&#92;vec{j} = (2,1,1/2)' class='latex' /> should be considered distinct. However, some permutations do lead to identical states and shouldn&#8217;t be counted, for example <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj_1%7D+%3D+%281%2C1%2C2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j_1} = (1,1,2)' title='&#92;vec{j_1} = (1,1,2)' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj_2%7D+%3D+%281%2C1%2C2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j_2} = (1,1,2)' title='&#92;vec{j_2} = (1,1,2)' class='latex' />. <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj_2%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j_2}' title='&#92;vec{j_2}' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj_1%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j_1}' title='&#92;vec{j_1}' class='latex' /> under the permutation of switching the first and second elements.</p>
<p>Right now (assuming this part of it works correctly)  the algorithm only counts states that are unique under any permutation. This means that whenever a factor of <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7Bi%3D1%7D%5En%282j_i%2B1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{i=1}^n(2j_i+1)' title='&#92;prod_{i=1}^n(2j_i+1)' class='latex' /> is added to the total count, it should be multiplied by</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cdfrac%7Bn%21%7D%7Bn_1%21n_2%21+%5Ccdots+n_k%21%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;dfrac{n!}{n_1!n_2! &#92;cdots n_k!}' title='&#92;dfrac{n!}{n_1!n_2! &#92;cdots n_k!}' class='latex' /></p>
<p>where <img src='http://s0.wp.com/latex.php?latex=n_1%2C+n_2%2C...%2Cn_k&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n_1, n_2,...,n_k' title='n_1, n_2,...,n_k' class='latex' /> are the numbers of identical elements in <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j}' title='&#92;vec{j}' class='latex' />. I&#8217;ve written a process for finding this factor which works correctly in a test project on a pre-determined set.</p>
<p>One more thing. In their article <em>Black Hole Entropy from Quantum Geometry</em>, Domagala and Lewandowski state that the case <img src='http://s0.wp.com/latex.php?latex=j_i+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_i = 0' title='j_i = 0' class='latex' /> is unphysical and not allowed. This was very easy to integrate into the existing code. So, with all those changes (and a few other minor things) the results I get are</p>
<p><img class="aligncenter size-full wp-image-47" title="fig31" src="http://bhentropy.files.wordpress.com/2009/03/fig31.jpg?w=450&#038;h=337" alt="fig31" width="450" height="337" />This is a great improvement over my previous results since the error (or disagreement with Corichi) is concave down. The errors I&#8217;ve gotten before this have all been concave up, and usually exponential-looking.</p>
<p><img class="aligncenter size-full wp-image-49" title="error1" src="http://bhentropy.files.wordpress.com/2009/03/error1.jpg?w=450&#038;h=337" alt="error1" width="450" height="337" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=46&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/03/30/best-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/03/fig31.jpg" medium="image">
			<media:title type="html">fig31</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/03/error1.jpg" medium="image">
			<media:title type="html">error1</media:title>
		</media:content>
	</item>
		<item>
		<title>Debuggin is Hard</title>
		<link>http://bhentropy.wordpress.com/2009/03/23/debuggin-is-hard/</link>
		<comments>http://bhentropy.wordpress.com/2009/03/23/debuggin-is-hard/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:18:43 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=41</guid>
		<description><![CDATA[So, I finally got the algorithm running. By &#8220;running&#8221; I mean that it compiles and doesn&#8217;t crash its self or anything else. It still isn&#8217;t working right, though. This first graph compares results from my algorithm with those of Corichi, Diaz-Polo, and Fernandex-Borja (three guys who wrote an effective, although not efficient, algorithm): In this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=41&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I finally got the algorithm running. By &#8220;running&#8221; I mean that it compiles and doesn&#8217;t crash its self or anything else. It still isn&#8217;t working right, though. This first graph compares results from my algorithm with those of Corichi, Diaz-Polo, and Fernandex-Borja (three guys who wrote an effective, although not efficient, algorithm):</p>
<p><img class="aligncenter size-full wp-image-42" title="50-252" src="http://bhentropy.files.wordpress.com/2009/03/50-252.jpg?w=450&#038;h=337" alt="50-252" width="450" height="337" />In this figure and the next &#8220;count3&#8243; or &#8220;count4&#8243; refers to the version of my algorithm which generated the data. Noting that my algorithm falls short by an increasing amount I decided to see what would happen if I went back to the old counting scheme (i.e. not the one described in the previous post). Here&#8217;s what happened:</p>
<p><img class="aligncenter size-full wp-image-43" title="fig3" src="http://bhentropy.files.wordpress.com/2009/03/fig3.jpg?w=450&#038;h=337" alt="fig3" width="450" height="337" />Drat. Now the algorithm&#8217;s prediction is too large by an increasing amount. The algorithm needs debugging before I can optimize it or add in the projection constraint.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=41&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/03/23/debuggin-is-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/03/50-252.jpg" medium="image">
			<media:title type="html">50-252</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/03/fig3.jpg" medium="image">
			<media:title type="html">fig3</media:title>
		</media:content>
	</item>
		<item>
		<title>Pruning and MPFR</title>
		<link>http://bhentropy.wordpress.com/2009/03/17/pruning-and-mpfr/</link>
		<comments>http://bhentropy.wordpress.com/2009/03/17/pruning-and-mpfr/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 14:21:17 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=37</guid>
		<description><![CDATA[Consider the case . The algorithm begins with and branches off from there, running a loop for each possible value of . At each of these branches, it again creates a loop for each possible value of . This scheme does not account for degeneracy of states. Let&#8217;s look at the values of through the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=37&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Consider the case <img src='http://s0.wp.com/latex.php?latex=n+%3D+3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n = 3' title='n = 3' class='latex' />. The algorithm begins with <img src='http://s0.wp.com/latex.php?latex=j_1+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_1 = 0' title='j_1 = 0' class='latex' /> and branches off from there, running a loop for each possible value of <img src='http://s0.wp.com/latex.php?latex=j_2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_2' title='j_2' class='latex' />. At each of these branches, it again creates a loop for each possible value of <img src='http://s0.wp.com/latex.php?latex=j_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_3' title='j_3' class='latex' />. This scheme does not account for degeneracy of states. Let&#8217;s look at the values of <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j}' title='&#92;vec{j}' class='latex' /> through the first few branches. First, we get the states <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%280%2C0%2C0%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (0,0,0)' title='&#92;vec{j} = (0,0,0)' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%280%2C0%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (0,0,1/2)' title='&#92;vec{j} = (0,0,1/2)' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%280%2C0%2C1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (0,0,1)' title='&#92;vec{j} = (0,0,1)' class='latex' /> and so on. When <img src='http://s0.wp.com/latex.php?latex=j_1+%3D+1%2F2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_1 = 1/2' title='j_1 = 1/2' class='latex' /> things get a little more interesting, for now we get the states <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C0%2C0%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,0,0)' title='&#92;vec{j} = (1/2,0,0)' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C0%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,0,1/2)' title='&#92;vec{j} = (1/2,0,1/2)' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C0%2C1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,0,1)' title='&#92;vec{j} = (1/2,0,1)' class='latex' /> and so on. But wait, <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C0%2C0%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,0,0)' title='&#92;vec{j} = (1/2,0,0)' class='latex' /> is the same state as <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%280%2C0%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (0,0,1/2)' title='&#92;vec{j} = (0,0,1/2)' class='latex' />. Had we continued writing out all the states with <img src='http://s0.wp.com/latex.php?latex=j_1+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_1 = 0' title='j_1 = 0' class='latex' /> we would have also come across <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%280%2C1%2F2%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (0,1/2,1/2)' title='&#92;vec{j} = (0,1/2,1/2)' class='latex' /> which is the same as <img src='http://s0.wp.com/latex.php?latex=%5Cvec%7Bj%7D+%3D+%281%2F2%2C0%2C1%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;vec{j} = (1/2,0,1/2)' title='&#92;vec{j} = (1/2,0,1/2)' class='latex' />. It seems as though we can prune the tree of possible states by having <img src='http://s0.wp.com/latex.php?latex=j_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_i' title='j_i' class='latex' /> start out, not at zero, but at the value of <img src='http://s0.wp.com/latex.php?latex=j_%7Bi-1%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='j_{i-1}' title='j_{i-1}' class='latex' />. The figure below illustrates this for <img src='http://s0.wp.com/latex.php?latex=n+%3D+3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n = 3' title='n = 3' class='latex' />.</p>
<p><img class="aligncenter size-full wp-image-38" title="branchdiag" src="http://bhentropy.files.wordpress.com/2009/03/branchdiag.jpg?w=308&#038;h=193" alt="branchdiag" width="308" height="193" /></p>
<p>I&#8217;ve drawn out similar diagrams for <img src='http://s0.wp.com/latex.php?latex=n+%3D+3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n = 3' title='n = 3' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=n+%3D+4&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n = 4' title='n = 4' class='latex' /> and this principle seems to hold, however, I haven&#8217;t been able to prove it (no idea where to begin). One nice thing about this finding (aside from eliminating degeneracy) is that it only requires small modifications to the code I already have.</p>
<p>Keeping track of how many states there are still (I think) requires a multi-precision data type. While we aren&#8217;t adding 1 to a large number anymore, <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7Bk%3D1%7D%5En+%282j_k%2B1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{k=1}^n (2j_k+1)' title='&#92;prod_{k=1}^n (2j_k+1)' class='latex' /> may be many orders of magnitude smaller than the current total number of states. It&#8217;s a shame that GMP doesn&#8217;t support the ln function since the number we&#8217;re actually interested in is the natural log of the number of states. Also, GMP&#8217;s conversion to standard C data types is somewhat lacking. For example, if you want to convert a 100-digit precision number to a double, gmp_get_d will squeeze in as many least significant digits as it can fit. If it squeezed in the most significant digits, that would be fine for my purposes, but alas. Fortunately, MPFR is compatable with GMP and does support the ln function. Thus, the algorithm is almost done, except for debugging.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=37&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/03/17/pruning-and-mpfr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>

		<media:content url="http://bhentropy.files.wordpress.com/2009/03/branchdiag.jpg" medium="image">
			<media:title type="html">branchdiag</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking Bright</title>
		<link>http://bhentropy.wordpress.com/2009/03/06/looking-bright/</link>
		<comments>http://bhentropy.wordpress.com/2009/03/06/looking-bright/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 22:11:06 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=34</guid>
		<description><![CDATA[The scheme described in the last couple of posts has a few issues. First of all, whenever it finds an eigenstate it shouldn&#8217;t add just 1 to the total, but to account for all of the possible m-states. This renders my large-number-handling method useless, but that&#8217;s ok since Chris got GMP properly installed on my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=34&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The scheme described in the last couple of posts has a few issues. First of all, whenever it finds an eigenstate it shouldn&#8217;t add just 1 to the total, but <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7Bk+%3D+1%7D%5En+%282j_k%2B1%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{k = 1}^n (2j_k+1)' title='&#92;prod_{k = 1}^n (2j_k+1)' class='latex' /> to account for all of the possible m-states. This renders my large-number-handling method useless, but that&#8217;s ok since Chris got GMP properly installed on my computer. In the future, this product will be replaced by another algorithm for counting the m-states which satisfy the projection constraint, <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bk%3D1%7D%5En+m_k+%3D+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sum_{k=1}^n m_k = 0' title='&#92;sum_{k=1}^n m_k = 0' class='latex' />. Secondly, my algorithm as is counts degenerate states. Permutations of the j&#8217;s in an eigenstate should not be counted as new eigenstates. Taking this into account will likely bring down the computation time to something large but reasonable. I&#8217;m not quite sure how to implement it, though.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=34&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/03/06/looking-bright/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>
	</item>
		<item>
		<title>A Very Big Number</title>
		<link>http://bhentropy.wordpress.com/2009/03/03/a-very-big-number/</link>
		<comments>http://bhentropy.wordpress.com/2009/03/03/a-very-big-number/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 20:49:00 +0000</pubDate>
		<dc:creator>danielkatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bhentropy.wordpress.com/?p=28</guid>
		<description><![CDATA[Apparently Matlab has a factorial function which is, according to their documentation, accurate at least to order of magnitude for integers over 21. By a simple calculation, then, if my program is to reproduce the results of previous authors (who used a maximum surface area of 550 ) it will need to run loops. So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=28&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Apparently Matlab has a factorial function which is, according to their documentation, accurate at least to order of magnitude for integers over 21. By a simple calculation, then, if my program is to reproduce the results of previous authors (who used a maximum surface area of 550 <img src='http://s0.wp.com/latex.php?latex=l_p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='l_p' title='l_p' class='latex' />) it will need to run</p>
<p><img src='http://s0.wp.com/latex.php?latex=2.4+%5Ctimes+10%5E%7B144%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2.4 &#92;times 10^{144}' title='2.4 &#92;times 10^{144}' class='latex' /></p>
<p>loops. So for the algorithm to do its job in a week, each loop would need to take <img src='http://s0.wp.com/latex.php?latex=2.5+%5Ctimes+10%5E%7B139%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2.5 &#92;times 10^{139}' title='2.5 &#92;times 10^{139}' class='latex' /> seconds.  This is ironic since the smallest quanta of time according to LQG is ~<img src='http://s0.wp.com/latex.php?latex=10%5E%7B-44%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='10^{-44}' title='10^{-44}' class='latex' />. I wonder if maybe the authors of that last paper were being modest when they called their algorithm &#8220;brute force.&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bhentropy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bhentropy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bhentropy.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bhentropy.wordpress.com&amp;blog=6574111&amp;post=28&amp;subd=bhentropy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bhentropy.wordpress.com/2009/03/03/a-very-big-number/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ae9b4e19041f53c88becf3b98646d676?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">danielkatz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
