Documentation for microsoft::quantum::TargetProfileConfiguration
microsoft::quantum::TargetProfileConfiguration
Public Types
Name | |
---|---|
using std::unordered_set< std::string > | Set |
Public Functions
Name | |
---|---|
TargetProfileConfiguration() =default | |
void | setup(ConfigurationManager & config) |
OpcodeSet const & | allowedOpcodes() const |
Set const & | allowedExternalCallNames() const |
bool | allowInternalCalls() const |
bool | allowlistOpcodes() const |
bool | allowlistExternalCalls() const |
bool | allowlistPointerTypes() const |
Set const & | allowedPointerTypes() const |
bool | allowPoison() const |
bool | allowUndef() const |
String | targetName() const |
TargetProfileConfiguration | fromQirTargetName(String const & name) |
Public Types Documentation
using Set
using microsoft::quantum::TargetProfileConfiguration::Set = std::unordered_set<std::string>;
Public Functions Documentation
function TargetProfileConfiguration
TargetProfileConfiguration() =default
function setup
void setup(
ConfigurationManager & config
)
Setup function that adds the configuration flags to the ConfigurationManager. See the ConfigurationManager documentation for more details on how the setup process is implemented.
CLI and config accessible
Config accessible
function allowedOpcodes
OpcodeSet const & allowedOpcodes() const
function allowedExternalCallNames
Set const & allowedExternalCallNames() const
function allowInternalCalls
bool allowInternalCalls() const
function allowlistOpcodes
bool allowlistOpcodes() const
function allowlistExternalCalls
bool allowlistExternalCalls() const
function allowlistPointerTypes
bool allowlistPointerTypes() const
function allowedPointerTypes
Set const & allowedPointerTypes() const
function allowPoison
bool allowPoison() const
function allowUndef
bool allowUndef() const
function targetName
String targetName() const
function fromQirTargetName
static TargetProfileConfiguration fromQirTargetName(
String const & name
)
Updated on 1 August 2023 at 16:25:10 UTC