Qrack
1.7
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::QEngineCPU::AND (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
"AND" compare two bits in QEngineCPU, and store result in outputBit More... | |
virtual void | Qrack::QEngineCPU::OR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
"OR" compare two bits in QEngineCPU, and store result in outputBit More... | |
virtual void | Qrack::QEngineCPU::XOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
"XOR" compare two bits in QEngineCPU, and store result in outputBit More... | |
virtual void | Qrack::QEngineCPU::CLAND (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
"AND" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit More... | |
virtual void | Qrack::QEngineCPU::CLOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
"OR" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit More... | |
virtual void | Qrack::QEngineCPU::CLXOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
"XOR" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit More... | |
virtual void | Qrack::QInterface::AND (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit)=0 |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QInterface::OR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit)=0 |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QInterface::XOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit)=0 |
Quantum analog of classical "XOR" gate. More... | |
virtual void | Qrack::QInterface::CLAND (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit)=0 |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QInterface::CLOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit)=0 |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QInterface::CLXOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit)=0 |
Quantum analog of classical "XOR" gate. More... | |
virtual void | Qrack::QUnit::AND (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QUnit::OR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QUnit::XOR (bitLenInt inputBit1, bitLenInt inputBit2, bitLenInt outputBit) |
Quantum analog of classical "XOR" gate. More... | |
virtual void | Qrack::QUnit::CLAND (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "AND" gate. More... | |
virtual void | Qrack::QUnit::CLOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "OR" gate. More... | |
virtual void | Qrack::QUnit::CLXOR (bitLenInt inputQBit, bool inputClassicalBit, bitLenInt outputBit) |
Quantum analog of classical "XOR" gate. More... | |
Each bit is paired with a CL* variant that utilizes a classical bit as an input.
Quantum analog of classical "AND" gate.
Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"AND" compare two bits in QEngineCPU, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "AND" gate.
Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.
|
virtual |
Quantum analog of classical "AND" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"AND" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "AND" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.
|
virtual |
Quantum analog of classical "OR" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"OR" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "OR" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.
|
virtual |
Quantum analog of classical "XOR" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"XOR" compare a qubit in QEngineCPU with a classical bit, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "XOR" gate.
Takes one qubit input and one classical bit input. Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.
Quantum analog of classical "OR" gate.
Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"OR" compare two bits in QEngineCPU, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "OR" gate.
Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.
Quantum analog of classical "XOR" gate.
Measures the outputBit, then overwrites it with result.
Implements Qrack::QInterface.
|
virtual |
"XOR" compare two bits in QEngineCPU, and store result in outputBit
Implements Qrack::QInterface.
|
pure virtual |
Quantum analog of classical "XOR" gate.
Measures the outputBit, then overwrites it with result.
Implemented in Qrack::QEngineCPU, and Qrack::QUnit.