QNLP
v1.0
|
Public Member Functions | |
def | __init__ (self, simulator, unitary) |
def | findOps (self, gate_order, cost_tol=1e-3) |
def | genOps (self, list gates, depth=5) |
Data Fields | |
ls | |
minFunc | |
unitary | |
unitarynp | |
gates | |
gate_ops | |
Definition at line 74 of file __init__.py.
def PyQNLPSimulator.UnitaryFinder.__init__ | ( | self, | |
simulator, | |||
unitary | |||
) |
Definition at line 75 of file __init__.py.
def PyQNLPSimulator.UnitaryFinder.findOps | ( | self, | |
gate_order, | |||
cost_tol = 1e-3 |
|||
) |
Definition at line 84 of file __init__.py.
References PyQNLPSimulator.UnitaryFinder.gate_ops, and PyQNLPSimulator.UnitaryFinder.unitary.
def PyQNLPSimulator.UnitaryFinder.genOps | ( | self, | |
list | gates, | ||
depth = 5 |
|||
) |
Generate the combinations of operations. Same gate is never called twice in a row.
Definition at line 128 of file __init__.py.
PyQNLPSimulator.UnitaryFinder.gate_ops |
Definition at line 82 of file __init__.py.
Referenced by PyQNLPSimulator.UnitaryFinder.findOps().
PyQNLPSimulator.UnitaryFinder.gates |
Definition at line 81 of file __init__.py.
PyQNLPSimulator.UnitaryFinder.ls |
Definition at line 77 of file __init__.py.
PyQNLPSimulator.UnitaryFinder.minFunc |
Definition at line 78 of file __init__.py.
PyQNLPSimulator.UnitaryFinder.unitary |
Definition at line 79 of file __init__.py.
Referenced by PyQNLPSimulator.UnitaryFinder.findOps().
PyQNLPSimulator.UnitaryFinder.unitarynp |
Definition at line 80 of file __init__.py.