QNLP
v1.0
|
Variables | |
comm | |
rank | |
num_ctrl | |
int | num_qubits |
int | target |
sim | |
regD | |
regA | |
res0 | |
res1 | |
Shows the performance difference in optimised versus non optimised NCU operations. mpirun -n 8 python ./ncu_opt_tester.py <num ctrl lines> <operating mode: {0,1}> mpirun -n 8 python ./ncu_opt_tester.py 11 0 # Should be realtively fast mpirun -n 8 python ./ncu_opt_tester.py 11 1 # Should take a while
ncu_opt_tester.comm |
Definition at line 15 of file ncu_opt_tester.py.
ncu_opt_tester.num_ctrl |
Definition at line 18 of file ncu_opt_tester.py.
int ncu_opt_tester.num_qubits |
Definition at line 19 of file ncu_opt_tester.py.
Referenced by QNLP::Oracle< SimulatorType >.bitStringPhaseOracle(), and TEST_CASE().
ncu_opt_tester.rank |
Definition at line 16 of file ncu_opt_tester.py.
Referenced by QNLP::IntelSimulator.applyMeasurement(), and QNLP::IntelSimulator.IntelSimulator().
ncu_opt_tester.regA |
Definition at line 25 of file ncu_opt_tester.py.
ncu_opt_tester.regD |
Definition at line 24 of file ncu_opt_tester.py.
ncu_opt_tester.res0 |
Definition at line 34 of file ncu_opt_tester.py.
ncu_opt_tester.res1 |
Definition at line 41 of file ncu_opt_tester.py.
ncu_opt_tester.sim |
Definition at line 23 of file ncu_opt_tester.py.
Referenced by QNLP::GateCache< SimulatorType >.addToCache(), QNLP::Diffusion< SimulatorType >.applyOpDiffusion(), IntelSimPy.computeOverlap(), QNLP::GateCache< SimulatorType >.initCache(), QNLP::IntelSimulator.overlap(), and TEST_CASE().
int ncu_opt_tester.target |
Definition at line 21 of file ncu_opt_tester.py.
Referenced by QNLP::SimulatorGeneral< IntelSimulator >.applyDiffusion(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCH(), QNLP::IntelSimulator.applyGateCH(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCPhaseShift(), QNLP::IntelSimulator.applyGateCPhaseShift(), QNLP::IntelSimulator.applyGateCRotX(), QNLP::IntelSimulator.applyGateCRotY(), QNLP::IntelSimulator.applyGateCRotZ(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCU(), QNLP::IntelSimulator.applyGateCU(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCX(), QNLP::IntelSimulator.applyGateCX(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCY(), QNLP::IntelSimulator.applyGateCY(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateCZ(), QNLP::IntelSimulator.applyGateCZ(), QNLP::SimulatorGeneral< IntelSimulator >.applyGateNCU(), IntelSimPy.applyGateNCU_5CX_Opt(), IntelSimPy.applyGateNCU_nonlinear(), QNLP::SimulatorGeneral< IntelSimulator >.applyMeasurement(), QNLP::IntelSimulator.applyMeasurement(), QNLP::Diffusion< SimulatorType >.applyOpDiffusion(), IntelSimPy.applyOracle_Opt(), IntelSimPy.applyOracle_U(), QNLP::SimulatorGeneral< IntelSimulator >.applyOraclePhase(), QNLP::SimulatorGeneral< IntelSimulator >.applyOracleU(), QNLP::Oracle< SimulatorType >.bitStringNCU(), QNLP::Oracle< SimulatorType >.bitStringPhaseOracle(), QNLP::IntelSimulator.collapseQubit(), QNLP::SimulatorGeneral< IntelSimulator >.collapseToBasisZ(), QNLP::IntelSimulator.collapseToBasisZ(), QNLP::IntelSimulator.getStateProbability(), and TEST_CASE().