quantum_nodes.operators

Modules

quantum_nodes.operators.bloch_sphere_instancer

class quantum_nodes.operators.bloch_sphere_instancer.BlochSphereInstancer

Bases: Operator

Generate a new Bloch sphere for data visualization.

bl_description: str = 'Plot an empty Bloch sphere.\nUse the corresponding node to start visualizing'

str

Type

type

bl_idname: str = 'object.bloch_sphere_instancer'

str

Type

type

bl_label: str = 'Create a new Bloch sphere'

str

Type

type

bl_options: Union[Set[str], Set[int]] = {'REGISTER', 'UNDO'}

Options for this operator type

Type

Union[Set[str], Set[int]]

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

quantum_nodes.operators.histogram_instancer

class quantum_nodes.operators.histogram_instancer.HistogramInstancer

Bases: Operator

Generate a new histogram for data visualization.

bl_description: str = 'Plot an empty histogram.\nUse the corresponding node to start visualizing'

str

Type

type

bl_idname: str = 'object.histogram_instancer'

str

Type

type

bl_label: str = 'Create a new histogram'

str

Type

type

bl_options: Union[Set[str], Set[int]] = {'REGISTER', 'UNDO'}

Options for this operator type

Type

Union[Set[str], Set[int]]

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

quantum_nodes.operators.ibm_connection

class quantum_nodes.operators.ibm_connection.IBMConnection

Bases: Operator

IBM credentials management panel.

bl_description: str = 'Enter your token to log yourself'

str

Type

type

bl_idname: str = 'object.ibm_connection'

str

Type

type

bl_label: str = 'IBMConnection'

str

Type

type

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

query: None

quantum_nodes.operators.insert_node

class quantum_nodes.operators.insert_node.InsertNode

Bases: Operator

Generate the example node tree which uses Quantum Blur.

bl_description: str = 'WIP : QuantumBlur template'

str

Type

type

bl_idname: str = 'nodes.insert'

str

Type

type

bl_label: str = 'Add Node Tree'

str

Type

type

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

classmethod poll(context)

Test if the operator can be called or not

Parameters

context ('Context') --

quantum_nodes.operators.insert_node.createNodeTree(context, operator, gp_name)

quantum_nodes.operators.qgan_histogram_instancer

class quantum_nodes.operators.qgan_histogram_instancer.HistogramInstancer

Bases: Operator

Generate the example node tree which uses Quantum Blur.

bl_description: str = 'Plot an empty histogram.\nUse the corresponding node to start visualizing'

str

Type

type

bl_idname: str = 'object.qgan_histogram_instancer'

str

Type

type

bl_label: str = 'Create a new histogram for qGAN performance visualization'

str

Type

type

bl_options: Union[Set[str], Set[int]] = {'REGISTER', 'UNDO'}

Options for this operator type

Type

Union[Set[str], Set[int]]

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

quantum_nodes.operators.state_city_instancer

class quantum_nodes.operators.state_city_instancer.StateCityInstancer

Bases: Operator

Generate a new state city plot for data visualization.

bl_description: str = 'WIP : Plot empty state city'

str

Type

type

bl_idname: str = 'object.state_city_instancer'

str

Type

type

bl_label: str = 'Create a state city'

str

Type

type

bl_options: Union[Set[str], Set[int]] = {'REGISTER', 'UNDO'}

Options for this operator type

Type

Union[Set[str], Set[int]]

execute(context)

Execute the operator

Parameters

context ('Context') --

Returns

result

classmethod poll(context)

Test if the operator can be called or not

Parameters

context ('Context') --