summaryrefslogtreecommitdiff
path: root/psr
diff options
context:
space:
mode:
Diffstat (limited to 'psr')
-rw-r--r--psr/basis_transformation.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/psr/basis_transformation.m b/psr/basis_transformation.m
index 82945fe..8b8eb04 100644
--- a/psr/basis_transformation.m
+++ b/psr/basis_transformation.m
@@ -6,7 +6,7 @@ function transformation_matrix = circ2lin()
transformation_matrix = ...
[ ...
[ 1/sqrt(2), 1/sqrt(2), 0]; ...
- [-1i/sqrt(2), 1i/sqrt(2), 0]; ...
+ [ 1i/sqrt(2),-1i/sqrt(2), 0]; ...
[ 0, 0, 1] ...
];
endfunction
@@ -17,8 +17,8 @@ endfunction
function transformation_matrix = lin2circ()
transformation_matrix = ...
[ ...
- [ 1/sqrt(2), 1i/sqrt(2), 0]; ...
[ 1/sqrt(2), -1i/sqrt(2), 0]; ...
+ [ 1/sqrt(2), 1i/sqrt(2), 0]; ...
[ 0, 0, 1] ...
];
endfunction