The previous implementation of getExpectationValueZ method calculated the parity of the measured string as an integer, limiting it to a buffer of < 32 qubits.
The new implementation calculates the parity of the measured string directly allowing it to be compatible with any number of qubits.
The previous implementation of getExpectationValueZ method calculated the parity of the measured string as an integer, limiting it to a buffer of < 32 qubits.
The new implementation calculates the parity of the measured string directly allowing it to be compatible with any number of qubits.