Qrack
9.9
General classical-emulating-quantum development framework
|
Each bit is paired with a CL* variant that utilizes a classical bit as an input. More...
Functions | |
virtual void | Qrack::QInterface::AND (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QInterface::OR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QInterface::XOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "XOR" gate. More... | |
virtual void | Qrack::QInterface::CLAND (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QInterface::CLOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QInterface::CLXOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "XOR" gate. More... | |
virtual void | Qrack::QInterface::NAND (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "NAND" gate. More... | |
virtual void | Qrack::QInterface::NOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "NOR" gate. More... | |
virtual void | Qrack::QInterface::XNOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "XNOR" gate. More... | |
virtual void | Qrack::QInterface::CLNAND (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "NAND" gate. More... | |
virtual void | Qrack::QInterface::CLNOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "NOR" gate. More... | |
virtual void | Qrack::QInterface::CLXNOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "XNOR" gate. More... | |
Each bit is paired with a CL* variant that utilizes a classical bit as an input.
|
virtual |
Quantum analog of classical "AND" gate.
(Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "AND" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "NAND" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "NOR" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "OR" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "XNOR" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "XOR" gate.
Takes one qubit input and one classical bit input. (Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "NAND" gate.
(Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "NOR" gate.
(Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "OR" gate.
(Assumes the outputBit is in the 0 state)
|
virtual |
Quantum analog of classical "XNOR" gate.
(Assumes the outputBit is in the 0 state)