Does Quantum Entanglement have any promise for instantaneous communication (theoretically) ?
class RawQuantum {
value = () => this._hidden ??= Math.random()
}
class EntangledQuantum extends RawQuantum {
valueA = () => this.value()
valueB = () => 1 - this.value()
}
const {valueA, valueB} = new EntangledQuantum()
You can give valueA to one procedure and valueB to another and know that whenever the _hidden field is observed, the two will have complementary views of the data. But this doesn't give the two procedures any way to communicate, and there's no measurable difference between resolving the _hidden filed now or later.Or make those "hiddens" in the code above globals. Problem solved.
You can't understand anything about quantum mechanics without knowing that in order to measure a qubit (or anything, really) you need an observable, which is completely missing from that JS code (for a qubit, the observable for a simple projective measurement could be represented by a direction in space).