From 00d22403a3ddad8692252a7974d586f32cf745bf Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 12 Sep 2026 00:39:59 +0200 Subject: feat: symbolic amplitude and probability formatting --- include/maths/format.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/maths/format.h (limited to 'include/maths/format.h') diff --git a/include/maths/format.h b/include/maths/format.h new file mode 100644 index 0000000..65c1680 --- /dev/null +++ b/include/maths/format.h @@ -0,0 +1,8 @@ +#pragma once + +#include + +#include "maths/complex.h" + +char *psi_format_amplitude(struct PsiComplex c, char *out, size_t cap); +char *psi_format_probability(double p, char *out, size_t cap); -- cgit v1.3