diff options
| author | hachem <im@hachem.wtf> | 2026-09-13 07:43:24 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-13 07:43:24 +0200 |
| commit | 04f65f091c3d3815d928a1ee16aac9699e0de91e (patch) | |
| tree | 0ade9ca4c1d31c4bc60333f102c434c079cc513a /tester | |
| parent | 220532b4818aadf7948ceaa9056d68b530dc38d1 (diff) | |
feat: add horizontal circuit visualizer
Diffstat (limited to 'tester')
| -rw-r--r-- | tester/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tester/main.c b/tester/main.c index 3fd63be..10d0b7d 100644 --- a/tester/main.c +++ b/tester/main.c @@ -241,6 +241,10 @@ int main(void) printf("\n%s\n", diagram); free(diagram); + char *hdiagram = psi_render_circuit_horizontal(&viz); + printf("%s\n", hdiagram); + free(hdiagram); + psi_free_quantum_circuit(&viz); } |
