quantum_nodes.sockets

Modules

quantum_nodes.sockets.classical_register

class quantum_nodes.sockets.classical_register.ClassicalRegisterListSocket

Bases: NodeSocket, PythonListSocket

List of classical registers socket.

baseType

alias of ClassicalRegisterSocket

bl_idname: str = 'an_ClassicalRegisterListSocket'

str

Type

type

bl_label: str = 'ClassicalRegister List Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'ClassicalRegister List'
drawColor = (0.18, 0.32, 1, 0.5)
storable = True
class quantum_nodes.sockets.classical_register.ClassicalRegisterSocket

Bases: NodeSocket, AnimationNodeSocket

Classical register socket.

bl_idname: str = 'an_ClassicalRegisterSocket'

str

Type

type

bl_label: str = 'Classical Register Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Classical Register'
drawColor = (0.73, 0.9, 0.768, 1.0)
classmethod getDefaultValue()
storable = True

quantum_nodes.sockets.numpy_long_complex

class quantum_nodes.sockets.numpy_long_complex.Complex128ListSocket

Bases: NodeSocket, PythonListSocket

List of numpy complex 128 socket.

baseType

alias of Complex128Socket

bl_idname: str = 'an_Complex128ListSocket'

str

Type

type

bl_label: str = 'Complex128 List Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Complex128 List'
drawColor = (0.6, 0.95, 0.25, 0.5)
storable = True
class quantum_nodes.sockets.numpy_long_complex.Complex128Socket

Bases: NodeSocket, AnimationNodeSocket

Numpy complex 128 socket.

bl_idname: str = 'an_Complex128Socket'

str

Type

type

bl_label: str = 'Complex128 Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Complex128'
drawColor = (0.6, 0.95, 0.25, 1.0)
classmethod getDefaultValue()
storable = True

quantum_nodes.sockets.qgan

class quantum_nodes.sockets.qgan.QganSocket

Bases: NodeSocket, AnimationNodeSocket

QGAN socket.

bl_idname: str = 'an_QganSocket'

str

Type

type

bl_label: str = 'qGAN Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'QGAN'
drawColor = (0.29, 0.0, 0.5, 1.0)
classmethod getDefaultValue()
storable = True

quantum_nodes.sockets.quantum_circuit

class quantum_nodes.sockets.quantum_circuit.QuantumCircuitSocket

Bases: NodeSocket, AnimationNodeSocket

Quantum circuit socket.

bl_idname: str = 'an_QuantumCircuitSocket'

str

Type

type

bl_label: str = 'Quantum Circuit Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Quantum Circuit'
drawColor = (0.29, 0.0, 0.5, 1.0)
classmethod getDefaultValue()
storable = True

quantum_nodes.sockets.quantum_count

class quantum_nodes.sockets.quantum_count.QuantumCountListSocket

Bases: NodeSocket, PythonListSocket

List of quantum counts socket.

baseType

alias of QuantumCountSocket

bl_idname: str = 'an_QuantumCountListSocket'

str

Type

type

bl_label: str = 'Quantum Count List Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Quantum Count List'
drawColor = (0.18, 0.32, 1, 0.5)
storable = True
class quantum_nodes.sockets.quantum_count.QuantumCountSocket

Bases: NodeSocket, AnimationNodeSocket

Quantum count socket.

bl_idname: str = 'an_QuantumCountSocket'

str

Type

type

bl_label: str = 'Quantum Count Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Quantum Count'
drawColor = (0.73, 0.9, 0.768, 1.0)
classmethod getDefaultValue()
storable = True

quantum_nodes.sockets.quantum_register

class quantum_nodes.sockets.quantum_register.QuantumRegisterListSocket

Bases: NodeSocket, PythonListSocket

List of quantum registers socket.

baseType

alias of QuantumRegisterSocket

bl_idname: str = 'an_QuantumRegisterListSocket'

str

Type

type

bl_label: str = 'Quantum Register List Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Quantum Register List'
drawColor = (0.18, 0.32, 1, 0.5)
storable = True
class quantum_nodes.sockets.quantum_register.QuantumRegisterSocket

Bases: NodeSocket, AnimationNodeSocket

Quantum register socket.

bl_idname: str = 'an_QuantumRegisterSocket'

str

Type

type

bl_label: str = 'Quantum Register Socket'

Label to display for the socket type in the UI

Type

str

comparable = False
classmethod correctValue(value)
Return Types:

If the value has the correct type: (value, 0) If the value has a correctable type: (corrected_value, 1) if the value has a uncorrectable type: (default_value, 2)

dataType = 'Quantum Register'
drawColor = (1.0, 0.16, 0.0, 1.0)
classmethod getDefaultValue()
storable = True