Skip to main content

A library for doing noncommutative operator algebra

Reason this release was yanked:

Broken importing

Project description

Commutation Station for Operator Elimination

A proof assistant tool for the busy physicist, to be used in evaluating large commutator expressions. This package does symbolic algebra on noncommutative objects.

The relevant objects for most purposes are CommutatorAlgebra, Expression and Term. An Expression is a list of Terms, together with standard vector space operations.

TODO

  • Export functionality for easier copying into Mathematica or similar
  • Input validation / standardisation of symbol types
  • change fundamental type from strings to objects: restrict purpose of Term to single terms
  • Implement use of anticommutator algebra
  • Scalar subclass of Term (in general, import sympy to simplify scalar coefficients?

Future

Term class functionality

Term.as_latex() Term.as_mathematica() Term.__str__() Constant(Term) does NOT have any built-in multiplier: this nastiness is handled by the new Expression class Expression.as_latex() Expression.as_mathematica() internal structure: `[([1],[t1, t2]),([3/4 ka k2], [t3, t4])] -> t1 t2 + t3 t4

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commutation-0.0.5.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commutation-0.0.5-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file commutation-0.0.5.tar.gz.

File metadata

  • Download URL: commutation-0.0.5.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for commutation-0.0.5.tar.gz
Algorithm Hash digest
SHA256 f66dacacba36231f629ee666492be3a5223973a286f96487f86588284e9e06fe
MD5 aa1a9fb7281d20222cb065caaeb931ac
BLAKE2b-256 9c42cbca0d2c4dba78971255fb166e29dcc47600c343c0ded3279bde5cf56254

See more details on using hashes here.

File details

Details for the file commutation-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: commutation-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for commutation-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b8a6616fcb121b086487535107bfeb2ac899735fd7a60f85e3748d22e76063
MD5 028a938658b0458b95420f61068da55e
BLAKE2b-256 50a6bf9411ccc55e660d0667f384c8f23e82d890d5fdbc38bb6bb2699f64c8e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page