class QPanda::CExpr

Overview

classical expression base class More...

Detailed Documentation

classical expression base class

Methods

Get the Left Expr pointer.

Returns:

CExpr*

Get the Right Expr pointer.

Returns:

CExpr*

Set the Left Expr pointer.

Parameters:

CExpr* left expr

Set the Right Expr pointer.

Parameters:

CExpr* right expr

Get the Name object.

Returns:

std::string

get classical bit pointer

Returns:

CBit*

check validity

Returns:

true check validity ture

false check validity false

get value

Returns:

cbit_size_t

get specifier of this cexpr

Returns:

int

deep copy this cexpr

Returns:

CExpr*

get all cbits name

Parameters:

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