quantum_nodes.ui.menus

Modules

quantum_nodes.ui.menus.main_menu

class quantum_nodes.ui.menus.main_menu.QN_MT_MainMenu

Bases: Menu

Main menu of Quantum Nodes.

bl_idname: str = 'QN_MT_quantum_nodes'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Quantum Nodes'

The menu label

Type

str

draw(context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

quantum_nodes.ui.menus.main_menu.drawMenu(self, context)
quantum_nodes.ui.menus.main_menu.register()
quantum_nodes.ui.menus.main_menu.unregister()

quantum_nodes.ui.menus.menus

class quantum_nodes.ui.menus.menus.QN_MT_ComplexNumbers

Bases: Menu

Menu of complex numbers nodes.

bl_idname: str = 'QN_MT_complex_numbers'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Complex Numbers'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_Outputs

Bases: Menu

Menu of all output gates nodes.

bl_idname: str = 'QN_MT_outputs'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'All Quantum Output'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_Qgan

Bases: Menu

Menu of QGAN related nodes.

bl_idname: str = 'QN_MT_qgan'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Quantum GAN'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_QuantumBlur

Bases: Menu

Menu of Quantum Blur nodes.

bl_idname: str = 'QN_MT_quantum_blur'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Quantum Blur'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_QuantumCircuits

Bases: Menu

Menu of circuit related nodes.

bl_idname: str = 'QN_MT_init_quantum_circuits'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Init Quantum Circuit'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_QuantumGates

Bases: Menu

Menu of all quantum gates nodes.

bl_idname: str = 'QN_MT_quantum_gates'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Gates'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.menus.QN_MT_Schrodinger

Bases: Menu

Menu of Schrödinger equation simulation nodes.

bl_idname: str = 'QN_MT_schrodinger'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Schrödinger Simulation'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

quantum_nodes.ui.menus.submenus

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_Outputs

Bases: Menu

Menu of output nodes.

bl_idname: str = 'QN_MT_SUB_outputs'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Quantum Output'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_QuantumGates

Bases: Menu

Menu of C gates nodes.

bl_idname: str = 'QN_MT_quantum_gates_c'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'C Gates'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_QuantumGatesR

Bases: Menu

Menu of R gates nodes.

bl_idname: str = 'QN_MT_quantum_gates_r'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'R Gates'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_QuantumGatesSingleQubit

Bases: Menu

Menu of single qubits gates nodes.

bl_idname: str = 'QN_MT_quantum_gates_single_qubit'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Single Qubit Gates'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_QuantumGatesToAll

Bases: Menu

Menu of gates 'to all circuit' nodes.

bl_idname: str = 'QN_MT_quantum_gates_to_all'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Gates To All'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --

class quantum_nodes.ui.menus.submenus.QN_MT_SUB_Visualization

Bases: Menu

Menu of data visualization nodes.

bl_idname: str = 'QN_MT_SUB_visualization'

If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the menu (for example, if the class name is "OBJECT_MT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_MT_hello")

Type

str

bl_label: str = 'Visualization tools'

The menu label

Type

str

draw(_context)

Draw UI elements into the menu UI layout

Parameters

context ('Context') --