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.
In the ordered computational basis , the Pauli X gate, Pauli Y gate, Pauli Z gate, Hadamard gate and T gate are
In the ordered two-qubit computational basis , with the first qubit controlling the second, the controlled-NOT gate is
Here the T gate uses the conventional representative with first diagonal entry one; another common representative differs only by a global phase.
Use deterministic two-qubit entanglement dilution, retaining the specified complex probability amplitudes. Alice implements a quantum instrument on with Kraus operators
The Kraus representation completeness condition holds even for complex :
To realize this using the permitted quantum gates and a basic measurement, Alice initializes an ancilla qubit to . Conditional on her computational-basis state being , she applies to the unitary matrix
Each has orthonormal columns. Therefore is a unitary gate, with
A computational-basis measurement of implements the desired quantum instrument. Its two unnormalized branches on are
Each has probability . Alice sends her outcome as one classical bit. For , both parties keep their qubits unchanged. For , both apply a Pauli X gate, giving
Thus both outcomes produce the exact target using one classical bit and local operations. The construction includes or and arbitrary relative quantum phases; it requires no quantum channel between the parties.

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