class QPanda::OriginQWhile

Overview

Implementation class of QWhileProg. More...

Inherited Members

Detailed Documentation

Implementation class of QWhileProg.

Methods

Get current node type.

Returns:

NodeType current node type

See also:

NodeType

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:

ClassicalCondition ptr