An entangling gate is a unitary transformation on two quantum systems for which at least one pure product input has an entangled output:
It need not create quantum entanglement on every product state. For example, the controlled-NOT gate leaves a product state but maps to a Bell state, so it is an entangling gate.
A bipartite pure state is entangled exactly when it is not a product state: there are no normalized quantum states such that
Equivalently, its Schmidt rank exceeds one, or either reduced density matrix is a mixed state. This definition concerns quantum entanglement across the specified division into systems and .
We prove the one-query constancy obstruction for phase oracles while allowing arbitrary quantum ancillas. By purification of a density operator, the quantum state immediately before the sole query can be taken as
The ancilla vectors need not be normalized or orthogonal. Classical randomness and earlier quantum measurements can be included in additional ancillas; allowing access to these systems only gives the proposed algorithm more power.
For the zero constant function, the phase oracle is , leaving unchanged. For each , consider the Boolean function that is one at and zero elsewhere. Since , it is nonconstant, and its phase oracle produces
Any later fixed unitary transformation preserves these inner products. An arbitrary final quantum measurement cannot distinguish the constant output from each nonconstant output with certainty unless they are orthogonal, by perfect discrimination of pure states requires orthogonality. Explicitly, an accepting POVM effect would satisfy and , forcing .
Therefore exact classification requires for every . Summing gives
which contradicts . Thus one query cannot decide constancy with certainty. The other constant function gives , differing only by a global phase, so it does not change the argument. For comparison, permits ; the impossibility arises from demanding the test work for every nonconstant Boolean function.
Use three-way qutrit sign-flip discrimination. Prepare the qutrit in the uniform superposition state
For an unknown label , the supplied unitary operator is . Apply it once and then apply the known inversion about the mean
Since and , this is an allowed unitary transformation. Using gives
Perform a computational-basis measurement and guess that its outcome is the unknown label. The Born rule gives
Each incorrect outcome has probability , verifying normalization. The success probability is separately for every label, so no assumption about their prior probabilities is needed.

There are unlisted articles, also show them or only show them.