The efficient compilation of Pauli exponentials has far-reaching implications in quantum computing. Whenever the exponentiation angle is π/2, Pauli strings can be used as measurement operators for ...
Some algorithms are more efficient than others. We would prefer to chose an efficient algorithm, so it would be nice to have metrics for comparing algorithm efficiency. The complexity of an algorithm ...
This document explains and verifies the design goals for an efficient, generic and robust stable sort implementation called driftsort by Orson Peters and Lukas Bergdoll (source code). TL;DR: driftsort ...
Many problems in mathematical sciences are ‘easy to evaluate’, despite being typically ‘hard to solve’. For example, in computer science, NP-complete optimization problems admit a polynomial-time ...
In 1997, Amazon CEO Jeff Bezos wrote his first letter to shareholders and set a precedent for decades of startups after it. Despite Amazon's tiny footprint at the time, Bezos' letter to shareholders ...
Note: Some of the code here is old and was written when I was learning C++. It might be possible that code is not safe or making wrong assumptions. Please use with caution. Pull requests are always ...