Skip to content

Commit

Permalink
Minor update to the README file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbkemp committed Jan 7, 2014
1 parent f60b9f2 commit b6e55b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -2,8 +2,6 @@

JavaScript library for animating quantum computations.

Please let me know if you use this library, otherwise I might loose interest in enhancing it.

Usage
-----

Expand All @@ -29,7 +27,7 @@ Add an svg element to the page:

Create a jsqubits object, pass it to the animatedQubits function to create an animatedQubits object, and ask it to display itself in the svg element (see also http://davidbkemp.github.io/jsqubits/ )

var qstate = jsqubits("|101>").hadamard(0).T(0);
var qstate = jsqubits("|101>").hadamard(0).t(0);
var animation = animatedQubits(qstate, {maxRadius: 50});
var svgElement = document.getElementById("mySvg");

Expand Down

0 comments on commit b6e55b8

Please sign in to comment.