Skip to content

Releases: davidbkemp/jsqubits

Updated dev libs

13 Nov 07:27
Compare
Choose a tag to compare

Runtime javascript has not changed.
This release just has an updated set of dev dependencies for linting and testing.

Put Complex constants back into Complex

29 May 01:54
Compare
Choose a tag to compare
  • Put Complex constants back on Complex
  • Put roundToZero and ALL on QSTATE
  • Keep all the constants on the top level Qubits object to hopefully make it backward compatible with 2.0.0

This seems more sensible that having a constants object. Ideally they would actually be static constants on the classes but Safari doesn't support them yet.

Unfortunately, they aren't really constants anymore. i.e. there is nothing stopping a client from changing their values.

roundToZero was never actually meant to be a constant. i.e. it is something that you should be able to configure.

Moving from Travis to Github actions. Not sure what is going on with Travis.

I think this is backwards compatible with version 2.0.0

Only support ES modules

05 Apr 07:55
Compare
Choose a tag to compare

For this release:

  • the javascript can now be used directly in modern browsers and Node version 15.
  • no longer support CommonJS modules. To use v2.0.0 you need to import the code as an ES module using import. See the README.md for more details on usage.
  • moves static Complex constants ZERO, ONE, SQRT2, and SQRT1_2 from Complex to the top level Qubits object.
    This is because Safari does not yet support static constant class declarations. Note after making this release I have figured out a work around. Perhaps they can be restored in a subsequent release.

Documentation update

17 Jul 12:14
Compare
Choose a tag to compare

README now includes links to TypeScript repos.

Published to npm

27 Jan 23:55
Compare
Choose a tag to compare

This is what was published to npm as version 1.1.0

It includes the ES6 re-write.

It should be backwards compatible with version 1.0.x.

To use a release you will need to install Node.js and run

npm install

Very minor changes

19 Jan 00:40
Compare
Choose a tag to compare
  • Improved approach to checking parameter types.
  • Minor documentation updates

To use a release you will need to install Node.js and run

npm install

Various bug and documentation fixes

10 Jan 10:42
Compare
Choose a tag to compare

Mostly addressing various es-lint errors and warnings.

Update documentation on how to run the examples.

I am still not happy with the impact of the ES6 migration, but the documentation updates might help.

NOTE: If you down load this release, you will still need to run

npm install

Version 1

23 Jul 06:41
Compare
Choose a tag to compare

Formatting of states has changed and so may break existing clients.

Support array of bit indexes as a measure() parameter

06 Jan 21:54
Compare
Choose a tag to compare

QState.measure() can now take an array of bit indexes.

Added support for require.js and bower.js

24 Nov 01:34
Compare
Choose a tag to compare

Added support for loading via require.js.

May cause problems with existing usages, but only if they are already using require.js.

Also added bower.json to allow installation via bower.