The question
Hold the earlier A route fixed while comparing a nearby and distant B.
Circuit & method
Interleave ten cases: A alone, A with neighboring B and A with distant B, balanced across B inputs. Each case has 256 shots in four blocks. The primary contrast is A’s input-one accuracy, far minus near.
Results
For A input one, near B passed 393/512 and distant B passed 408/512. The primary difference was +2.93 points, with a recorded 95% interval of −2.13 to +7.97 points.
| Primary contrast | Difference | 95% interval |
|---|---|---|
| Far minus near, A=1 | +2.930 points | -2.130 to +7.973 points |
What this supports
Percentages are rounded for reading. The original integer counts, physical layouts, settings and available uncertainty calculations remain in the records below. Sampling intervals do not account for drift or every systematic error.
Full experiment record
Every top-level field from the primary hardware JSON is reproduced below, including the complete saved measurement distributions where present. Field names and outcome strings retain their original order and spelling.
- Fixed-A-Kingston.jsonWorkspace original · 25,180 bytes
backend
ibm_kingston
paths
{
"A": [
53,
54,
55
],
"near": [
74,
75,
59
],
"far": [
118,
109,
108
]
}tag
fixed-a-near-far-teleport-20261120
receiver_distances
{
"near": 1,
"far": 13
}native_counts
{
"alone_0-": {
"rz": 12,
"sx": 6,
"cz": 2,
"measure_2": 2,
"if_else": 2,
"barrier": 1,
"measure": 1
},
"alone_1-": {
"rz": 12,
"sx": 6,
"cz": 2,
"measure_2": 2,
"if_else": 2,
"x": 1,
"barrier": 1,
"measure": 1
},
"near_00": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"barrier": 1
},
"near_01": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"x": 1,
"barrier": 1
},
"near_10": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"x": 1,
"barrier": 1
},
"near_11": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"x": 2,
"measure": 2,
"barrier": 1
},
"far_00": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"barrier": 1
},
"far_01": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"x": 1,
"barrier": 1
},
"far_10": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"measure": 2,
"x": 1,
"barrier": 1
},
"far_11": {
"rz": 24,
"sx": 12,
"cz": 4,
"measure_2": 4,
"if_else": 4,
"x": 2,
"measure": 2,
"barrier": 1
}
}primary
A correct for input 1, distant minus neighboring B, equal weighting of B=0 and B=1
stage
done
order
[ "near_01", "near_10", "far_10", "far_11", "alone_0-", "near_11", "alone_1-", "far_00", "near_00", "far_01", "near_01", "far_11", "near_00", "alone_1-", "far_01", "near_11", "far_00", "near_10", "far_10", "alone_0-", "near_10", "far_11", "far_01", "near_00", "far_00", "alone_1-", "near_11", "alone_0-", "far_10", "near_01", "far_11", "far_10", "far_00", "alone_1-", "near_11", "near_10", "near_00", "alone_0-", "near_01", "far_01" ]
shots_per_block
64
shots_per_case
256
job_id
dc0ig1anj2vs73de2o60
counts_by_block
[
{
"101001": 6,
"110100": 1,
"100000": 6,
"101100": 3,
"101101": 4,
"101111": 7,
"101010": 3,
"111100": 2,
"100011": 3,
"100010": 2,
"101011": 2,
"101110": 2,
"110110": 1,
"101000": 1,
"111000": 2,
"110000": 2,
"110001": 2,
"001100": 1,
"100110": 3,
"111101": 1,
"100001": 2,
"100101": 3,
"111111": 1,
"100100": 2,
"010100": 1,
"111010": 1
},
{
"000100": 3,
"011101": 7,
"010110": 1,
"000101": 2,
"010000": 2,
"011011": 3,
"011010": 2,
"011001": 2,
"001100": 2,
"010011": 4,
"000011": 1,
"001101": 2,
"010100": 4,
"110100": 1,
"001000": 3,
"010101": 1,
"011110": 4,
"011111": 1,
"000010": 1,
"001010": 1,
"000001": 2,
"001110": 1,
"011100": 5,
"010001": 2,
"111111": 1,
"010111": 2,
"110000": 2,
"001111": 1,
"011000": 1
},
{
"010000": 7,
"010001": 6,
"010011": 3,
"010010": 3,
"010100": 4,
"000100": 1,
"011011": 2,
"011111": 2,
"001001": 4,
"000001": 2,
"011001": 4,
"001011": 1,
"011110": 1,
"001000": 1,
"011000": 4,
"011010": 5,
"001100": 1,
"010101": 3,
"010111": 2,
"001010": 2,
"010110": 1,
"011100": 3,
"111011": 1,
"000010": 1
},
{
"111001": 3,
"110110": 5,
"111010": 4,
"100111": 1,
"110000": 2,
"100000": 1,
"111100": 5,
"100101": 2,
"110011": 5,
"111110": 4,
"111101": 2,
"100010": 2,
"010101": 1,
"011010": 1,
"110111": 2,
"111011": 2,
"110101": 4,
"101011": 3,
"100110": 1,
"111111": 2,
"110100": 2,
"101001": 1,
"100100": 1,
"110001": 2,
"110010": 1,
"111000": 1,
"010001": 1,
"101000": 1,
"101111": 1,
"101100": 1
},
{
"011": 14,
"000": 23,
"101": 2,
"001": 8,
"111": 3,
"100": 2,
"010": 10,
"110": 2
},
{
"111100": 4,
"110111": 3,
"111000": 3,
"100000": 3,
"101110": 1,
"111101": 3,
"011011": 1,
"101100": 1,
"110101": 4,
"111010": 4,
"100100": 2,
"110000": 7,
"100011": 1,
"111001": 1,
"001110": 1,
"101101": 2,
"101000": 1,
"110010": 4,
"101010": 1,
"110110": 2,
"110001": 2,
"110100": 2,
"110011": 2,
"111011": 3,
"100010": 1,
"111110": 2,
"010010": 1,
"111111": 1,
"101111": 1
},
{
"110": 9,
"010": 8,
"001": 4,
"111": 14,
"011": 4,
"100": 12,
"101": 11,
"000": 2
},
{
"001111": 3,
"010010": 4,
"001000": 5,
"001101": 3,
"011101": 2,
"000001": 6,
"000100": 4,
"010001": 1,
"000111": 2,
"000011": 4,
"010011": 2,
"001001": 3,
"011100": 1,
"000110": 1,
"000000": 2,
"100100": 1,
"000101": 4,
"011010": 2,
"001010": 1,
"010100": 2,
"010110": 1,
"000010": 4,
"001100": 1,
"011000": 1,
"001011": 1,
"011001": 1,
"001110": 1,
"011111": 1
},
{
"001111": 1,
"000011": 5,
"001001": 3,
"001000": 2,
"001010": 2,
"000111": 4,
"001101": 5,
"010101": 2,
"000000": 6,
"010011": 1,
"010111": 4,
"001110": 2,
"000100": 1,
"111011": 1,
"000001": 4,
"000110": 5,
"011011": 1,
"100010": 1,
"011101": 2,
"011000": 1,
"010110": 1,
"001011": 1,
"000101": 2,
"101011": 1,
"100100": 1,
"001100": 2,
"011010": 1,
"010100": 1,
"011001": 1
},
{
"100010": 3,
"111101": 1,
"100001": 3,
"101111": 5,
"100000": 8,
"101100": 4,
"101001": 3,
"101101": 3,
"111100": 2,
"100100": 3,
"110010": 1,
"101000": 4,
"110011": 2,
"110001": 2,
"111001": 1,
"100011": 1,
"100110": 2,
"100101": 3,
"101110": 3,
"101010": 1,
"111010": 1,
"110111": 1,
"111110": 1,
"101011": 2,
"000101": 1,
"001101": 1,
"010111": 1,
"111000": 1
},
{
"100101": 4,
"100010": 3,
"000000": 1,
"100100": 2,
"100011": 3,
"001110": 1,
"101111": 5,
"101001": 2,
"101011": 4,
"111000": 2,
"100111": 3,
"011011": 1,
"111110": 3,
"111100": 1,
"101000": 3,
"101010": 3,
"101101": 3,
"101110": 3,
"100000": 2,
"101100": 1,
"111111": 2,
"110110": 3,
"110001": 2,
"111101": 1,
"110101": 3,
"110100": 1,
"100001": 1,
"110000": 1
},
{
"111011": 3,
"110001": 5,
"110110": 1,
"111111": 3,
"111101": 5,
"101010": 1,
"110100": 4,
"111010": 3,
"110111": 2,
"111001": 5,
"111000": 5,
"110101": 5,
"110000": 4,
"011010": 1,
"100110": 3,
"110010": 4,
"101011": 1,
"111110": 2,
"010000": 1,
"011001": 1,
"011011": 1,
"111100": 1,
"001100": 1,
"100001": 1,
"110011": 1
},
{
"011101": 2,
"001101": 5,
"011011": 1,
"010010": 1,
"001100": 6,
"001110": 3,
"000110": 5,
"000011": 3,
"111110": 1,
"010000": 2,
"010111": 1,
"000001": 2,
"111100": 1,
"000000": 3,
"001111": 1,
"011000": 2,
"001000": 2,
"000100": 3,
"011111": 1,
"011110": 1,
"001011": 2,
"000101": 2,
"000010": 2,
"001010": 2,
"110001": 1,
"010100": 1,
"011100": 2,
"101110": 1,
"001001": 2,
"011001": 1,
"010101": 1,
"101111": 1
},
{
"101": 10,
"111": 10,
"001": 5,
"100": 14,
"010": 4,
"000": 3,
"110": 15,
"011": 3
},
{
"100000": 5,
"100101": 3,
"100111": 3,
"100011": 1,
"111101": 3,
"010010": 1,
"101100": 7,
"111010": 3,
"110000": 1,
"101000": 2,
"100100": 4,
"101011": 3,
"101001": 7,
"111111": 1,
"100110": 1,
"100010": 2,
"000111": 1,
"101101": 3,
"111100": 3,
"101111": 3,
"101110": 1,
"100001": 1,
"001101": 1,
"101010": 2,
"001010": 1,
"010001": 1
},
{
"111011": 4,
"100011": 2,
"100111": 1,
"101100": 3,
"110010": 3,
"100110": 3,
"110001": 1,
"111101": 5,
"100100": 2,
"010111": 1,
"110111": 2,
"110101": 4,
"100010": 1,
"111100": 3,
"110110": 3,
"111000": 2,
"010001": 1,
"111110": 2,
"110011": 2,
"111111": 1,
"110100": 3,
"100001": 1,
"010100": 1,
"000110": 1,
"111010": 2,
"101101": 1,
"111001": 3,
"110000": 4,
"101110": 1,
"100000": 1
},
{
"011000": 2,
"010110": 2,
"011111": 2,
"000011": 4,
"001001": 8,
"001111": 3,
"001100": 4,
"000000": 2,
"000001": 3,
"001110": 2,
"000100": 3,
"000111": 2,
"011101": 2,
"010101": 3,
"001000": 1,
"000110": 2,
"000101": 3,
"000010": 3,
"100111": 1,
"010111": 1,
"011001": 1,
"001010": 2,
"001101": 3,
"010011": 1,
"011110": 1,
"011100": 1,
"100100": 1,
"010010": 1
},
{
"010000": 5,
"010101": 2,
"110110": 2,
"011001": 4,
"011011": 5,
"011000": 3,
"001110": 1,
"011101": 3,
"010100": 3,
"010010": 4,
"001001": 2,
"110010": 1,
"000100": 1,
"011010": 2,
"010001": 2,
"000010": 1,
"011111": 3,
"001101": 1,
"010011": 2,
"010111": 1,
"001111": 1,
"010110": 1,
"001000": 1,
"000000": 1,
"000101": 1,
"110101": 1,
"011110": 2,
"000110": 1,
"000011": 1,
"011100": 3,
"000111": 1,
"110001": 1,
"111110": 1
},
{
"011101": 5,
"010000": 3,
"001101": 1,
"010010": 2,
"010001": 4,
"001011": 2,
"011011": 2,
"011000": 4,
"011001": 4,
"010100": 3,
"011010": 5,
"011110": 3,
"010110": 2,
"011111": 3,
"010011": 2,
"011100": 6,
"010101": 4,
"000111": 1,
"001100": 1,
"001000": 1,
"001010": 2,
"001110": 1,
"000101": 1,
"001001": 1,
"010111": 1
},
{
"010": 12,
"000": 13,
"100": 7,
"001": 10,
"110": 2,
"011": 14,
"111": 3,
"101": 3
},
{
"100101": 1,
"010100": 5,
"111000": 1,
"011010": 6,
"111110": 1,
"001110": 2,
"010111": 2,
"011101": 3,
"011111": 2,
"011001": 1,
"000000": 1,
"011110": 3,
"010011": 4,
"000100": 2,
"011011": 2,
"010000": 3,
"011000": 2,
"010110": 3,
"000010": 2,
"000001": 1,
"111111": 1,
"010101": 1,
"001000": 1,
"001111": 1,
"011100": 3,
"001001": 1,
"001101": 1,
"010010": 3,
"000110": 1,
"111010": 1,
"010001": 3
},
{
"111000": 2,
"101101": 2,
"110100": 7,
"111100": 4,
"110000": 4,
"100000": 1,
"111001": 3,
"100100": 2,
"111111": 3,
"110001": 3,
"110110": 7,
"111110": 5,
"111010": 1,
"111101": 1,
"100101": 1,
"101100": 1,
"111011": 1,
"110011": 2,
"101000": 2,
"100011": 1,
"010110": 1,
"011111": 1,
"100010": 1,
"110010": 2,
"010100": 1,
"011001": 1,
"101011": 2,
"100001": 1,
"110111": 1
},
{
"101010": 4,
"101011": 4,
"100101": 2,
"100010": 7,
"100000": 3,
"111110": 3,
"110101": 1,
"111000": 1,
"101111": 5,
"110110": 1,
"100001": 4,
"100100": 1,
"101001": 4,
"000110": 1,
"110010": 1,
"101110": 3,
"100011": 2,
"101000": 5,
"111100": 1,
"100110": 3,
"110000": 1,
"101100": 1,
"001111": 1,
"001101": 1,
"010001": 1,
"001110": 1,
"111111": 1,
"100111": 1
},
{
"010010": 2,
"000101": 3,
"011111": 2,
"000010": 2,
"000011": 2,
"010011": 2,
"001100": 5,
"001111": 4,
"000001": 3,
"001000": 3,
"011100": 1,
"000100": 4,
"011110": 1,
"011001": 3,
"001010": 6,
"000000": 3,
"011010": 2,
"001101": 4,
"001011": 2,
"000111": 2,
"001001": 2,
"010101": 2,
"001110": 1,
"100110": 1,
"011101": 1,
"011000": 1
},
{
"000010": 3,
"000011": 7,
"001110": 4,
"000001": 5,
"000100": 7,
"010100": 1,
"010111": 2,
"001111": 2,
"000111": 2,
"000110": 2,
"001011": 3,
"001010": 2,
"001000": 2,
"011100": 1,
"001101": 3,
"011111": 2,
"000000": 4,
"001001": 1,
"011000": 1,
"000101": 3,
"001100": 1,
"010101": 1,
"011011": 2,
"101000": 1,
"101101": 1,
"010001": 1
},
{
"101": 11,
"110": 10,
"100": 13,
"010": 6,
"001": 4,
"111": 12,
"011": 3,
"000": 5
},
{
"111100": 5,
"111001": 3,
"110110": 3,
"101110": 2,
"111011": 6,
"110111": 3,
"110100": 4,
"111000": 4,
"010000": 1,
"110000": 3,
"100101": 2,
"101101": 3,
"111010": 1,
"110010": 4,
"110011": 4,
"101100": 1,
"111110": 3,
"010011": 1,
"011110": 1,
"101001": 1,
"101010": 1,
"101011": 1,
"111101": 4,
"110101": 1,
"011001": 1,
"100000": 1
},
{
"001": 17,
"000": 17,
"110": 3,
"101": 4,
"111": 3,
"011": 11,
"010": 7,
"100": 2
},
{
"001100": 2,
"010000": 5,
"011100": 1,
"000001": 2,
"010101": 5,
"011010": 4,
"010100": 4,
"011101": 3,
"010010": 4,
"000011": 1,
"010011": 2,
"011001": 6,
"000000": 2,
"011110": 3,
"000010": 1,
"011011": 4,
"000100": 1,
"000110": 1,
"010001": 2,
"010110": 2,
"000111": 1,
"111101": 1,
"001010": 1,
"011111": 1,
"001101": 1,
"001111": 1,
"000101": 1,
"001011": 1,
"010111": 1
},
{
"101110": 3,
"100001": 7,
"101111": 4,
"101010": 5,
"111010": 2,
"100111": 1,
"100110": 2,
"100101": 1,
"101101": 2,
"110011": 2,
"111111": 1,
"111011": 1,
"100010": 3,
"100100": 2,
"010111": 1,
"101011": 2,
"100000": 3,
"100011": 3,
"010011": 1,
"101001": 3,
"101000": 3,
"110010": 1,
"101100": 3,
"110101": 2,
"111001": 2,
"001010": 1,
"001111": 1,
"111100": 1,
"110100": 1
},
{
"101101": 2,
"111011": 5,
"110100": 3,
"110010": 6,
"110101": 6,
"111001": 5,
"111010": 5,
"110011": 2,
"111111": 1,
"101000": 2,
"111000": 4,
"111100": 4,
"110000": 2,
"011010": 1,
"101010": 1,
"111101": 2,
"011011": 1,
"110111": 1,
"101111": 1,
"010011": 1,
"110001": 2,
"100110": 1,
"111110": 1,
"100100": 1,
"110110": 1,
"011001": 1,
"100010": 1,
"100111": 1
},
{
"011101": 3,
"010111": 5,
"100000": 1,
"010110": 5,
"011000": 3,
"000000": 2,
"010100": 3,
"000011": 1,
"000100": 2,
"001111": 1,
"001101": 2,
"111000": 1,
"010000": 2,
"001000": 1,
"011100": 4,
"010001": 3,
"001001": 1,
"000010": 1,
"000110": 1,
"011011": 6,
"010011": 3,
"011001": 2,
"000101": 4,
"111111": 1,
"011111": 1,
"001011": 1,
"110000": 1,
"010010": 1,
"011110": 1,
"011010": 1
},
{
"001011": 4,
"001000": 6,
"011011": 2,
"001010": 3,
"010011": 2,
"001001": 5,
"000000": 4,
"010101": 1,
"000011": 2,
"010010": 1,
"000001": 5,
"001111": 3,
"000110": 1,
"000010": 4,
"000101": 4,
"010001": 2,
"001110": 1,
"001101": 2,
"000100": 4,
"100101": 1,
"001100": 2,
"000111": 3,
"011111": 2
},
{
"101": 12,
"100": 14,
"010": 4,
"111": 19,
"001": 4,
"110": 8,
"011": 1,
"000": 2
},
{
"110100": 5,
"110000": 3,
"110110": 5,
"000100": 1,
"101100": 2,
"111101": 4,
"111111": 4,
"101000": 2,
"110010": 3,
"111001": 5,
"101110": 2,
"111000": 2,
"110101": 3,
"010110": 1,
"100000": 1,
"011111": 1,
"100110": 1,
"100101": 4,
"110111": 2,
"011110": 2,
"100100": 3,
"111011": 2,
"001110": 1,
"100001": 1,
"110001": 1,
"010011": 1,
"110011": 1,
"111110": 1
},
{
"011010": 4,
"011001": 3,
"010110": 4,
"111001": 2,
"000101": 1,
"111000": 1,
"010000": 2,
"010010": 3,
"011111": 5,
"011101": 7,
"110010": 1,
"000100": 3,
"010100": 5,
"011011": 2,
"000001": 1,
"011100": 2,
"001000": 1,
"001010": 1,
"110000": 1,
"110101": 1,
"010011": 1,
"001100": 2,
"100000": 1,
"010001": 2,
"111110": 1,
"011110": 2,
"111111": 1,
"011000": 2,
"001001": 1,
"110001": 1
},
{
"011001": 2,
"001111": 2,
"000101": 4,
"010110": 1,
"010000": 1,
"011100": 2,
"000010": 2,
"000001": 2,
"010010": 2,
"011111": 1,
"000000": 5,
"001000": 5,
"000011": 2,
"101110": 1,
"011110": 1,
"011101": 2,
"001011": 4,
"001010": 2,
"001110": 3,
"010111": 2,
"000111": 1,
"000110": 2,
"001100": 1,
"010101": 2,
"011011": 1,
"001101": 4,
"000100": 1,
"001001": 2,
"111101": 1,
"100111": 1,
"011010": 1,
"010001": 1
},
{
"001": 13,
"110": 6,
"011": 8,
"000": 18,
"111": 3,
"100": 5,
"010": 10,
"101": 1
},
{
"101101": 3,
"000001": 1,
"100111": 10,
"111001": 2,
"110101": 1,
"110100": 1,
"000110": 1,
"111110": 1,
"100110": 4,
"101100": 3,
"100011": 4,
"110010": 3,
"101000": 1,
"100001": 2,
"100101": 2,
"101111": 1,
"100100": 3,
"110001": 1,
"100010": 3,
"001011": 1,
"000010": 1,
"101001": 4,
"101110": 3,
"101011": 1,
"111100": 2,
"100000": 1,
"101010": 2,
"011010": 1,
"111101": 1
},
{
"101100": 3,
"100000": 6,
"101000": 4,
"101010": 1,
"100111": 7,
"100001": 5,
"100100": 4,
"001000": 1,
"110001": 2,
"101101": 4,
"111101": 1,
"111100": 2,
"100010": 2,
"000100": 1,
"101001": 2,
"000101": 1,
"101110": 2,
"101011": 3,
"100011": 2,
"100101": 1,
"101111": 2,
"100110": 1,
"110000": 1,
"111110": 1,
"001001": 1,
"111111": 1,
"110111": 1,
"000000": 1,
"010010": 1
}
]correct
{
"alone_0-": {
"A": 205,
"all": 205
},
"alone_1-": {
"A": 194,
"all": 194
},
"near_00": {
"A": 184,
"B": 243,
"all": 176
},
"near_01": {
"A": 194,
"B": 242,
"all": 185
},
"near_10": {
"A": 199,
"B": 231,
"all": 176
},
"near_11": {
"A": 194,
"B": 238,
"all": 180
},
"far_00": {
"A": 200,
"B": 250,
"all": 194
},
"far_01": {
"A": 208,
"B": 237,
"all": 194
},
"far_10": {
"A": 198,
"B": 250,
"all": 193
},
"far_11": {
"A": 210,
"B": 240,
"all": 195
}
}contrasts
{
"A_correct": {
"alone": {
"0": [
205,
256
],
"1": [
194,
256
]
},
"near": {
"0": [
378,
512
],
"1": [
393,
512
]
},
"far": {
"0": [
408,
512
],
"1": [
408,
512
]
}
},
"primary_far_minus_near_on_1_95": {
"difference": 0.029296875,
"interval": [
-0.021299820554527192,
0.07972832128922733
]
},
"far_minus_alone_on_1_95": {
"difference": 0.0390625,
"interval": [
-0.0218739187819645,
0.10388431990524102
]
},
"near_minus_alone_on_1_95": {
"difference": 0.009765625,
"interval": [
-0.05209077362402577,
0.07557998573384907
]
}
}metrics
{
"caller": "qiskit",
"qiskit_version": "qiskit_ibm_runtime-0.52.1,qiskit-2.6.2*,qiskit_aer-0.17.2*",
"timestamps": {
"created": "2026-11-21T05:11:33.488852Z",
"finished": "2026-11-21T05:11:41.682107Z",
"running": "2026-11-21T05:11:35.33606Z"
},
"usage": {
"qpu_charge_time_seconds": 3,
"value": 0.040904,
"unit": "resource_units",
"status": "complete",
"details": [
{
"value": 0.040904,
"unit": "resource_units",
"metric": {
"id": "caffe3ca-729c-5750-8777-df63bbf8bfd9",
"value": 3
}
}
]
},
"circuits_execution_time_ns": 674168064
}Simulation & checks
These are the supplied simulator records and their preserved variants. Their model, seed, settings and results appear exactly as saved. Shared simulator references on fresh-map pages describe the ideal graph protocol, rather than a new hardware-matched calibration.
- Fixed-A-simulator.jsonWorkspace original · 4,138 bytes
workspace/Fixed-A-simulator.json · full record
{
"cases": [
"alone_0-",
"alone_1-",
"near_00",
"near_01",
"near_10",
"near_11",
"far_00",
"far_01",
"far_10",
"far_11"
],
"paths": {
"A": [
53,
54,
55
],
"near": [
74,
75,
59
],
"far": [
118,
109,
108
]
},
"shots_per_case": 256,
"correct": {
"alone_0-": {
"A": 256,
"all": 256
},
"alone_1-": {
"A": 256,
"all": 256
},
"near_00": {
"A": 256,
"B": 256,
"all": 256
},
"near_01": {
"A": 256,
"B": 256,
"all": 256
},
"near_10": {
"A": 256,
"B": 256,
"all": 256
},
"near_11": {
"A": 256,
"B": 256,
"all": 256
},
"far_00": {
"A": 256,
"B": 256,
"all": 256
},
"far_01": {
"A": 256,
"B": 256,
"all": 256
},
"far_10": {
"A": 256,
"B": 256,
"all": 256
},
"far_11": {
"A": 256,
"B": 256,
"all": 256
}
},
"counts": [
{
"000": 56,
"011": 51,
"001": 73,
"010": 76
},
{
"101": 54,
"100": 58,
"111": 84,
"110": 60
},
{
"001100": 19,
"000011": 7,
"000001": 14,
"001001": 21,
"000111": 18,
"001110": 17,
"000010": 17,
"001111": 15,
"001011": 9,
"001000": 12,
"001010": 15,
"000100": 24,
"000000": 21,
"001101": 15,
"000110": 17,
"000101": 15
},
{
"101100": 16,
"101111": 8,
"100110": 13,
"101010": 21,
"101001": 20,
"100001": 9,
"101101": 11,
"101110": 18,
"100010": 23,
"100011": 19,
"100101": 17,
"101000": 18,
"101011": 17,
"100111": 22,
"100100": 13,
"100000": 11
},
{
"011100": 15,
"010011": 19,
"011001": 13,
"010001": 18,
"011010": 19,
"011110": 19,
"010110": 16,
"010111": 19,
"011101": 14,
"010101": 13,
"010100": 17,
"011000": 13,
"010000": 18,
"011111": 13,
"010010": 15,
"011011": 15
},
{
"110101": 12,
"111110": 20,
"111111": 12,
"110110": 20,
"110111": 11,
"110000": 13,
"111010": 22,
"111101": 19,
"110011": 13,
"110010": 14,
"110100": 18,
"111011": 21,
"111000": 14,
"110001": 21,
"111100": 11,
"111001": 15
},
{
"001100": 16,
"000011": 23,
"000001": 13,
"001001": 15,
"000111": 13,
"000000": 12,
"001000": 13,
"001110": 20,
"000010": 20,
"001011": 17,
"001010": 17,
"000110": 20,
"000101": 10,
"001101": 18,
"000100": 14,
"001111": 15
},
{
"100100": 16,
"101101": 18,
"101000": 16,
"101011": 17,
"101100": 21,
"100011": 13,
"101110": 16,
"100101": 9,
"100001": 19,
"100110": 16,
"100010": 16,
"100000": 20,
"100111": 13,
"101111": 13,
"101010": 17,
"101001": 16
},
{
"011001": 26,
"010011": 11,
"010101": 20,
"011111": 13,
"010010": 13,
"011011": 7,
"011000": 21,
"010111": 23,
"011110": 13,
"010000": 22,
"011101": 15,
"010110": 12,
"011010": 8,
"010100": 25,
"011100": 11,
"010001": 16
},
{
"111111": 16,
"110111": 15,
"111101": 17,
"110000": 17,
"110101": 13,
"110001": 17,
"110011": 20,
"110010": 18,
"111010": 12,
"111000": 19,
"110100": 14,
"110110": 20,
"111001": 17,
"111110": 14,
"111100": 18,
"111011": 9
}
]
}Source code
Original experiment and verification programs are preserved byte for byte. These are historical listings; dependencies, authentication prompts and machine-specific input paths may need adjustment before a rerun.
- fixed_a_teleports.pyWorkspace original · 4,932 bytes
- verify_fixed_a.pyWorkspace original · 1,749 bytes
workspace/fixed_a_teleports.py · complete source
"""Hold one Kingston teleportation route fixed while changing its active neighbor."""
import getpass
import logging
import math
import sys
import traceback
from scipy.stats import norm
from qiskit_aer import AerSimulator
from qiskit_ibm_runtime import QiskitRuntimeService
from qiskit_ibm_runtime.fake_provider import FakeKingston
from neighboring_teleports import OUT,SEED,circuit,load,prepare,run_blocks,save,tally
HW=OUT/"Fixed-A-Kingston.json"
SIM=OUT/"Fixed-A-simulator.json"
STATUS=OUT/"Fixed-A-status.json"
TAG="fixed-a-near-far-teleport-20261120"
CASES=[f"{arm}_{a}{b}" for arm in ("alone","near","far") for a in "01"
for b in ("-" if arm=="alone" else "01")]
neighbor=load(OUT/"Neighbor-Kingston.json")["selection"]
vf2=load(OUT/"VF2-Kingston.json")["selection"]
PATHS={"A":neighbor["A"],"near":neighbor["B"],"far":vf2["B"]}
def setup(case):
arm,bits=case.split("_")
paths=[PATHS["A"]]
if arm!="alone":
paths.append(PATHS[arm])
value=int(bits[0])+2*(bits[1]=="1")
return bits,paths,value
def score(case,counts):
return tally(case.split("_")[1],counts)
def compile_all(backend):
compiled={}
a_ops={}
for case in CASES:
bits,paths,value=setup(case)
_,_,isa=prepare(backend,paths,("teleport",),value)
q=isa[0]
signature=[]
for inst in q.data:
gate=inst.operation
wires=[q.find_bit(w).index for w in inst.qubits]
if gate.name!="barrier" and set(wires).intersection(PATHS["A"]):
assert set(wires)<=set(PATHS["A"])
extra=tuple(str(p) for p in gate.params) if gate.name!="if_else" else tuple(
i.operation.name for block in gate.blocks for i in block.data)
signature.append((gate.name,tuple(wires),extra))
assert a_ops.setdefault(bits[0],signature)==signature
compiled[case]=q
return compiled
def simulate():
circs=[]
for case in CASES:
_,paths,value=setup(case)
circs.append(circuit("teleport",value=value,width=len(paths)))
counts=AerSimulator(method="stabilizer").run(circs,shots=256,seed_simulator=SEED).result().get_counts()
results={case:score(case,row) for case,row in zip(CASES,counts,strict=True)}
assert all(row["all"]==256 for row in results.values())
compile_all(FakeKingston())
save(SIM,dict(cases=CASES,paths=PATHS,shots_per_case=256,correct=results,counts=counts))
print("All ten ideal cases passed.")
def summarize(rows):
summary={}
for arm in ("alone","near","far"):
summary[arm]={}
for bit in "01":
cells=[rows[k]["A"] for k in rows if k.startswith(arm+"_"+bit)]
summary[arm][bit]=[sum(cells),len(cells)*256]
def diff(first,second,bit,level):
z=norm.ppf(0.5+level/2)
def bounds(pair):
hits,n=pair
p=hits/n
center=(p+z*z/(2*n))/(1+z*z/n)
half=z*math.sqrt(p*(1-p)/n+z*z/(4*n*n))/(1+z*z/n)
return p,center-half,center+half
p,pl,ph=bounds(summary[first][bit])
q,ql,qh=bounds(summary[second][bit])
d=p-q
return dict(difference=d,interval=[d-math.hypot(p-pl,qh-q),d+math.hypot(ph-p,q-ql)])
return dict(A_correct=summary,primary_far_minus_near_on_1_95=diff("far","near","1",.95),
far_minus_alone_on_1_95=diff("far","alone","1",.95),
near_minus_alone_on_1_95=diff("near","alone","1",.95))
def hardware():
rec=load(HW)
if rec.get("stage")=="done":
return
assert len(load(SIM)["correct"])==10
save(STATUS,{"stage":"waiting for key"})
key=getpass.getpass("IBM Cloud API key for fixed-A Kingston test (hidden): ").strip()
if not key:
save(STATUS,{"stage":"cancelled"})
return
save(STATUS,{"stage":"connecting"})
service=QiskitRuntimeService(channel="ibm_quantum_platform",token=key,region="us-east",plans_preference=["open"])
backend=service.backend("ibm_kingston")
compiled={}
if not rec:
compiled=compile_all(backend)
rec=dict(backend=backend.name,paths=PATHS,tag=TAG,
receiver_distances={k:int(backend.coupling_map.distance(PATHS["A"][-1],PATHS[k][-1])) for k in ("near","far")},
native_counts={k:dict(q.count_ops()) for k,q in compiled.items()},
primary="A correct for input 1, distant minus neighboring B, equal weighting of B=0 and B=1")
run_blocks(service,backend,HW,TAG,rec,compiled,CASES,score,summarize)
save(STATUS,{"stage":"done"})
if __name__=="__main__":
if sys.argv[1:]==["simulate"]:
simulate()
elif sys.argv[1:]==["hardware"]:
logging.disable(logging.CRITICAL)
try:
hardware()
except Exception as exc:
save(STATUS,{"stage":"error","type":type(exc).__name__,"frames":[f.name for f in traceback.extract_tb(exc.__traceback__)]})
workspace/verify_fixed_a.py · complete source
"""Cross-check A's results from printed receiver bits, conditioning on block and B input."""
import json
from pathlib import Path
from collections import Counter
import numpy as np
from scipy.stats import hypergeom
root=Path(__file__).resolve().parent
r=json.loads((root/"Fixed-A-Kingston.json").read_bytes())
assert r["stage"]=="done" and len(r["counts_by_block"])==40
correct=Counter()
blocks=[]
for start in range(0,40,10):
block={}
for case,counts in zip(r["order"][start:start+10],r["counts_by_block"][start:start+10]):
arm,bits=case.split("_")
width=1 if arm=="alone" else 2
assert sum(counts.values())==64
a_correct=sum(n for s,n in counts.items() if s[width-1]==bits[0])
block[case]=a_correct
correct[case]+=a_correct
assert len(block)==10
blocks.append(block)
assert all(correct[case]==r["correct"][case]["A"] for case in correct)
# Exact two-sided conditional test: given successes per B input and block,
# exchange the equal-size far/near groups under the null of equal accuracy.
distribution=np.array([1.0])
total=expected=0
for block in blocks:
for b in "01":
far=block["far_1"+b]
combined=far+block["near_1"+b]
distribution=np.convolve(distribution,hypergeom.pmf(np.arange(65),128,combined,64))
total+=far
expected+=combined/2
assert abs(distribution.sum()-1)<1e-9
p=distribution[np.abs(np.arange(len(distribution))-expected)>=abs(total-expected)].sum()
print(correct)
print(r["contrasts"],"stratified far-near p",p)
print(r["receiver_distances"],r["job_id"],r["metrics"]["usage"])
print("A=1 totals per block (alone/64, near/128, far/128)",[(b["alone_1-"],b["near_10"]+b["near_11"],b["far_10"]+b["far_11"]) for b in blocks])
Personal comments
Personal comments will be added here.