diff options
| author | hachem <im@hachem.wtf> | 2026-09-18 12:25:32 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-18 12:25:32 +0200 |
| commit | 17598056a69a14e0390a07251d383f413ded9eea (patch) | |
| tree | 79cf23ea99072f065407da3e0b92ee03f8972695 /include/core/noise.h | |
| parent | ee14ad272e68d9363202d7f668e0b20302827209 (diff) | |
feat: add matrix, vector, and circuit display + fmt
Diffstat (limited to 'include/core/noise.h')
| -rw-r--r-- | include/core/noise.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/core/noise.h b/include/core/noise.h index 320a4ab..2bd65e1 100644 --- a/include/core/noise.h +++ b/include/core/noise.h @@ -8,8 +8,8 @@ struct PsiKrausOperator { - struct PsiMatrix matrix; - const char* name; + struct PsiMatrix matrix; + const char* name; }; struct PsiKrausOperator psi_new_kraus_operator(const char* name, struct PsiMatrix matrix); @@ -17,10 +17,10 @@ void psi_free_kraus_operator(struct PsiKrausOperator* op); struct PsiNoiseChannel { - const char* name; - struct PsiKrausOperator* operators; - size_t operator_count; - size_t num_qubits; + const char* name; + struct PsiKrausOperator* operators; + size_t operator_count; + size_t num_qubits; }; struct PsiNoiseChannel psi_new_noise_channel(const char* name, @@ -38,9 +38,9 @@ struct PsiNoiseChannel psi_generalised_amplitude_damping_channel(double p, doubl struct PsiDensityMatrix { - struct PsiComplex* data; - size_t dim; - size_t num_qubits; + struct PsiComplex* data; + size_t dim; + size_t num_qubits; }; struct PsiDensityMatrix psi_new_density_matrix(size_t num_qubits); |
