I noticed that most algorithms in coding theory or cryptography are based on the integers and some arithmetic results (e.g. RSA) or on the finite fields (e.g. Elliptic curve cryptography or BCH codes).
The field $\mathbb{Q}$ is of infinite cardinality, which I suppose makes it less interesting for most applications (e.g. elliptic curves may have an infinite number of points, we cannot easily control the memory required for exact representation, etc.).
Despite this, I was wondering if there were algorithms using rational numbers and their properties as a field (or some extension of $\mathbb{Q}$) with real usage?
Not a direct answer to “algorithms over $\mathbb{Q}$”, but there are constructions of error-correcting codes over fields of characteristic zero, which is the closest I know of. I’ll throw some references below — but you are right that in general, if it’s not a discrete set, it’s difficult to utilize for information transmission applications (coding, cryptography, etc.).