class QPanda::OriginQIf¶
Detailed Documentation¶
Implementation class of QIfProg
Methods¶
Get current node type.
Returns:
NodeType current node type
See also:
Get true branch.
Returns:
std::shared_ptr<QNode>
Get false branch.
Returns:
std::shared_ptr<QNode>
Set the True branch.
Parameters:
Node | True branch node |
Set the False Branch object.
Parameters:
Node | False branch node |
Get classical expr.
Returns: