class QPanda::OriginCExpr

Overview

Implementation class of CExpr. More...

Inherited Members

Detailed Documentation

Implementation class of CExpr.

Fields

quantum node type

Methods

Get the Left Expr pointer.

Returns:

CExpr*

Get the Right Expr pointer.

Returns:

CExpr*

Get the Name object.

Returns:

std::string

get classical bit pointer

Returns:

CBit*

Set the Left Expr pointer.

Parameters:

CExpr* left expr

Set the Right Expr pointer.

Parameters:

CExpr* right expr

get value

Returns:

cbit_size_t

deep copy this cexpr

Returns:

CExpr*

check validity

Returns:

true check validity ture

false check validity false

get all cbits name

Parameters:

std::vector<std::string> cibts name vector

get quantum node type

Returns:

NodeType

get content specifier

Returns:

NodeType