class QPanda::CBit

Overview

CBit abstract class. More...

Detailed Documentation

CBit abstract class.

Methods

get the occupancy status of this bit

Returns:

bool ture: occupancy

get the name of this bit

Returns:

std::string

set the occupancy status of this bit

Parameters:

bool occupancy status

get the value of this bit

Returns:

cbit_size_t

set the value of this bit

Parameters:

cbit_size_t value

get the addr of this bit

Returns:

cbit_size_t