Get the latest tech news

Algorithms through the lens of symbolic pattern matching


Symbolica is a blazing fast and easy-to-use computer algebra library for Python and Rust.

Now that we have a basic mapping of a graph as a term (an expression with multiplications and no additions at the top level) we can manipulate it with pattern matching. In particle physics one can express probabilities of collision events in terms of a weighted sum of Feynman graphs, so this g could be something that can be measured in a detector! In this blog post we saw how reinterpreting a graph as a mathematical expression allowed for creative algorithms by making use of the pattern matching capabilities of Symbolica.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Lens

Lens

Photo of algorithms

algorithms

Photo of symbolic pattern

symbolic pattern

Related news:

News photo

Self-driving Waymo cars keep SF residents awake all night by honking at each other | Haunted by glitching algorithms, self-driving cars disturb the peace in San Francisco.

News photo

Go Algorithms and Data Structures: Best Practices for Beginners

News photo

How Algorithms Keep Workers Under Their Control