Skip to content

Commit 2f01339

Browse files
committed
Version 0.9.179
1 parent 4eff248 commit 2f01339

File tree

5 files changed

+341
-260
lines changed

5 files changed

+341
-260
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ console.log(quantumRandom());
211211
| **z** | Z | Z | Z | 1 | | Pauli Z (PI rotation over Z-axis) |
212212
| **h** | H | H | H | 1 | | Hadamard gate |
213213
| **srn** | def srn | X**(1/2) | | 1 | | Square root of NOT |
214+
| **srndg** | def srndg | X**(-1/2) | | 1 | | Inverse square root of NOT |
214215
| **r2** | S | S | S | 1 | | PI/2 rotation over Z-axis aka "Phase PI/2" |
215216
| **r4** | T | T | T | 1 | | PI/4 rotation over Z-axis aka "Phase PI/4" |
216217
| **r8** | PHASE(pi/8) | u1(pi/8) | | 1 | | PI/8 rotation over Z-axis aka "Phase PI/8" |
@@ -893,6 +894,26 @@ Square root of NOT
893894
circuit.appendGate("srn", 0);
894895
```
895896

897+
## srndg
898+
899+
Inverse square root of NOT
900+
901+
**Qubits:** 1
902+
903+
**Matrix:**
904+
```javascript
905+
[
906+
907+
["0.5-0.5i","0.5+0.5i"],
908+
["0.5+0.5i","0.5-0.5i"]
909+
]
910+
```
911+
912+
**Example:**
913+
```javascript
914+
circuit.appendGate("srndg", 0);
915+
```
916+
896917
## r2
897918

898919
PI/2 rotation over Z-axis aka "Phase PI/2"

0 commit comments

Comments
 (0)