qrisp.quantum_backtracking.QuantumBacktrackingTree.quantum_step#

QuantumBacktrackingTree.quantum_step(ctrl=[], min_height_assumption=0)[source]#

Performs the quantum step operator. Depending on wether the root has even or odd height, either \(R_A\) or \(R_B\) is executed first. For more information check the diffuser method.

Parameters
ctrlList[Qubit], optional

A list of qubits, the step operator should be controlled on. The default is [].