# _DeltaParityCNOTbitstring function

Namespace: Microsoft.Quantum.Research.Chemistry

Classical processing step of ApplyDeltaParity. This computes a list of control qubits for evaluating parity difference between any two PQRS... terms of even length.

function _DeltaParityCNOTbitstring (prevFermionicTerm : Int[], nextFermionicTerm : Int[]) : (Int, Bool[])


## Remarks

This assumes that the length of terms is even. Computes list of controls for parity difference between any two terms. This assumes that the input lists is sorted in ascending order.