quantum_nodes.nodes.quantum_gates

Packages

Modules

quantum_nodes.nodes.quantum_gates.quantum_gate_swap

class quantum_nodes.nodes.quantum_gates.quantum_gate_swap.QuantumGateSWAPNode

Bases: Node, AnimationNode

Apply quantum gate SWAP to selected qubits.

bl_idname: str = 'an_QuantumGateSWAPNode'

str

Type

type

bl_label: str = 'Quantum Gate SWAP'

The node label

Type

str

create()
errorHandlingType = 'EXCEPTION'
execute(input, first_qubit, second_qubit)