◆ __init__()
pyqpanda3.profiling.routine_tree.RoutineNode.__init__ |
( |
| self, |
|
|
Wrapper | routine, |
|
|
"RoutineNodeFactory" | factory, |
|
|
dict | gate_times, |
|
|
str | unknown_name = "Unknown" ) |
◆ _first_pass_routines_data_impl()
pyqpanda3.profiling.routine_tree.RoutineNode._first_pass_routines_data_impl |
( |
| self, |
|
|
ProgramData | data, |
|
|
int | number_of_calls = 1 ) |
|
protected |
◆ _get_gate_time()
int pyqpanda3.profiling.routine_tree.RoutineNode._get_gate_time |
( |
str | gate_name, |
|
|
ty.Dict[str, int] | gate_times ) |
|
staticprotected |
◆ _should_stop_recursion()
bool pyqpanda3.profiling.routine_tree.RoutineNode._should_stop_recursion |
( |
"RoutineNode" | node, |
|
|
ty.Dict[str, int]
| gate_times ) |
|
staticprotected |
◆ first_pass_routines_data()
pyqpanda3.profiling.routine_tree.RoutineNode.first_pass_routines_data |
( |
| self, |
|
|
ProgramData | data ) |
◆ is_base()
pyqpanda3.profiling.routine_tree.RoutineNode.is_base |
( |
| self | ) |
|
◆ name()
pyqpanda3.profiling.routine_tree.RoutineNode.name |
( |
| self | ) |
|
◆ total_time()
pyqpanda3.profiling.routine_tree.RoutineNode.total_time |
( |
| self | ) |
|
◆ _routine
pyqpanda3.profiling.routine_tree.RoutineNode._routine = routine |
|
protected |
◆ _subroutines
pyqpanda3.profiling.routine_tree.RoutineNode._subroutines = list() |
|
protected |
◆ _subroutines_counter
ty.Dict[, int] pyqpanda3.profiling.routine_tree.RoutineNode._subroutines_counter |
|
protected |
Initial value:= Counter(
self._subroutines
)
◆ name
pyqpanda3.profiling.routine_tree.RoutineNode.name |
◆ self_time
int pyqpanda3.profiling.routine_tree.RoutineNode.self_time = 0 |
◆ subroutines_times
pyqpanda3.profiling.routine_tree.RoutineNode.subroutines_times = 0 |
◆ unknown_name
pyqpanda3.profiling.routine_tree.RoutineNode.unknown_name = unknown_name |
The documentation for this class was generated from the following file:
- pyqpanda3/profiling/routine_tree.py