From 39f834304f968c69645610cbb4e054d0a38ff161 Mon Sep 17 00:00:00 2001 From: Didictateur <105631786+Didictateur@users.noreply.github.com> Date: Sat, 21 Oct 2023 19:41:08 +0200 Subject: [PATCH] Fixe matrices --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b70a479..1ff40f7 100644 --- a/README.md +++ b/README.md @@ -49,14 +49,17 @@ $\alpha$ |0> + $\beta$ |1> is represented by -$\begin{pmatrix} +```math +\begin{pmatrix} \alpha\\ \beta -\end{pmatrix}$ +\end{pmatrix} +``` So, the operation corresponding of the inversion of the value of $\alpha$ and $\beta$ is -$\begin{pmatrix} +```math +\begin{pmatrix} 0 & 1\\ 1 & 0 \end{pmatrix} @@ -68,7 +71,8 @@ $\begin{pmatrix} =\begin{pmatrix} \beta\\ \alpha -\end{pmatrix}$ +\end{pmatrix} +``` In theory, the users don't need to use them, the main quantum gates are already implemented. @@ -103,4 +107,4 @@ SWAP(mq, 0, 1) ## Docs -A doc is availaibale [here](docs) where all objects and gates are displayed. \ No newline at end of file +A doc is availaibale [here](docs) where all objects and gates are displayed.