Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Obor názvů Std.Aritmetic obsahuje následující položky:
| Název | Popis |
|---|---|
| AddLE | Nastaví nula-inicializovaný little-endian registr zs na součet little-endian registrů xs a ys. |
| ApplyIfEqualL | Vypočítá if (c == x) { action(target) }, to znamená, použije action na target, pokud se hodnota BigInt c rovná x registru qubitů s malým endianem. |
| ApplyIfEqualLE | Vypočítá if x == y { action(target) }, to znamená, použije action na target pokud x registru je roven registru y. Oba qubitové registry by měly být v malém endiánském formátu. |
| použít ApplyIfGreaterL | Vypočítá if (c > x) { action(target) }, to znamená, použije action na target, pokud je c hodnota BigInt větší než x registru qubitů s malým endianem. |
| ApplyIfGreaterLE | Vypočítá if x > y { action(target) }, to znamená, použije action na target pokud x registru je větší než yregistru . Oba qubitové registry by měly být v malém endiánském formátu. |
| ApplyIfGreaterOrEqualL | Vypočítá if (c >= x) { action(target) }, to znamená, použije action na target, pokud je c hodnota BigInt větší nebo rovna registru qubitů s malým endianem x |
| ApplyIfGreaterOrEqualLE | Vypočítá if x >= y { action(target) }, to znamená, použije action na target, pokud x registru je větší nebo roven registru y. Oba qubitové registry by měly být v malém endiánském formátu. |
| použít ApplyIfLessL | Vypočítá if (c < x) { action(target) }, to znamená, použije action na target, pokud hodnota BigInt c je menší než x registru qubitů s malým endianem. |
| ApplyIfLessLE | Vypočítá if x < y { action(target) }, to znamená, použije action na target, pokud x registru je menší než yregistru . Oba qubitové registry by měly být v malém endiánském formátu. |
| ApplyIfLessOrEqualL | Vypočítá if (c <= x) { action(target) }, to znamená, použije action na target, pokud hodnota BigInt c je menší nebo rovna registru qubitů s malým endianem x |
| ApplyIfLessOrEqualLE | Vypočítá if x <= y { action(target) }, to znamená, použije action na target, pokud x registru je menší nebo roven yregistru . Oba qubitové registry by měly být v malém endiánském formátu. |
| FourierTDIncByLE | Zvýší trochu endian registr ys o malý-endian registr xs pomocí Quantum Fourier Transform. |
| IncByI | Zvýší trochu endian registr ys o celé číslo c |
| IncByIUsingIncByLE | Zvýší trochu endian registr ys podle int číslo c pomocí poskytnutého doplňku. |
| IncByL | Zvýší trochu endian registr ys o BigInt číslo c |
| IncByLE | Zvýší trochu endian registr ys o malý-endian registr xs |
| IncByLEUsingAddLE | Obecná operace pro přeměnu dvou místních doplňků na jeden místní doplněk |
| IncByLUsingIncByLE | Zvýší trochu endian registr ys podle BigInt číslo c pomocí poskytnutého doplňku. |
| LookAheadDKRSAddLE | Nastaví nula-inicializovaný little-endian registr zs na součet little-endian registrů xs a ys pomocí nos-lookahead algoritmu. |
| MAJ | Tím se použije místní operace většiny na 3 qubity. |
| ReflectAboutInteger | Odráží kvantový registr o daném klasickém celočíselném čísle. |
| RippleCarryCGAddLE | Nastaví nula-inicializovaný little-endian registr zs na součet little-endian registrys xs a ys pomocí algoritmu ripple-carry. |
| RippleCarryCGIncByLE | Zvýší trochu endiánský registr ys o malý endian registr xs pomocí algoritmu ripple-carry. |
| RippleCarryTTKIncByLE | Reverzibilní, místní ripple-nos sčítání dvou celých čísel. |