more qubit functionality