Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/guides/DAG-representation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"[DAGOpNode(op=Instruction(name='h', num_qubits=1, num_clbits=0, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>,), cargs=()),\n",
" DAGOpNode(op=Instruction(name='cx', num_qubits=2, num_clbits=0, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>, <Qubit register=(3, \"q\"), index=1>), cargs=()),\n",
" DAGOpNode(op=Instruction(name='measure', num_qubits=1, num_clbits=1, params=[]), qargs=(<Qubit register=(3, \"q\"), index=0>,), cargs=(<Clbit register=(3, \"c\"), index=0>,)),\n",
" DAGOpNode(op=Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f92440b6cd0>, None]), qargs=(<Qubit register=(3, \"q\"), index=1>,), cargs=(<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>))]"
" DAGOpNode(op=Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f4c5dc655d0>, None]), qargs=(<Qubit register=(3, \"q\"), index=1>,), cargs=(<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>))]"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -162,7 +162,7 @@
"output_type": "stream",
"text": [
"node name: if_else\n",
"op: Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f92440b6cd0>, None])\n",
"op: Instruction(name='if_else', num_qubits=1, num_clbits=3, params=[<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7f4c5dc655d0>, None])\n",
"qargs: (<Qubit register=(3, \"q\"), index=1>,)\n",
"cargs: (<Clbit register=(3, \"c\"), index=0>, <Clbit register=(3, \"c\"), index=1>, <Clbit register=(3, \"c\"), index=2>)\n",
"condition: (ClassicalRegister(3, 'c'), 2)\n"
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/build-noise-models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'u2', 'u1']\n",
" Instructions with noise: ['u1', 'u2', 'u3']\n",
" All-qubits errors: ['u1', 'u2', 'u3']\n"
]
}
Expand Down Expand Up @@ -553,7 +553,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'u2', 'u1']\n",
" Instructions with noise: ['u1', 'u2', 'u3']\n",
" Qubits with noise: [0]\n",
" Specific qubit errors: [('u1', (0,)), ('u2', (0,)), ('u3', (0,))]\n"
]
Expand Down Expand Up @@ -728,7 +728,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u1', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'cx', 'reset', 'u1', 'measure', 'u2']\n",
" Instructions with noise: ['u2', 'u1', 'u3', 'reset', 'cx', 'measure']\n",
" All-qubits errors: ['reset', 'measure', 'u1', 'u2', 'u3', 'cx']\n"
]
}
Expand Down Expand Up @@ -838,7 +838,7 @@
"text": [
"NoiseModel:\n",
" Basis gates: ['cx', 'id', 'rz', 'sx', 'u2', 'u3']\n",
" Instructions with noise: ['u3', 'cx', 'reset', 'measure', 'u2']\n",
" Instructions with noise: ['u2', 'u3', 'reset', 'cx', 'measure']\n",
" Qubits with noise: [0, 1, 2, 3]\n",
" Specific qubit errors: [('reset', (0,)), ('reset', (1,)), ('reset', (2,)), ('reset', (3,)), ('measure', (0,)), ('measure', (1,)), ('measure', (2,)), ('measure', (3,)), ('u2', (0,)), ('u2', (1,)), ('u2', (2,)), ('u2', (3,)), ('u3', (0,)), ('u3', (1,)), ('u3', (2,)), ('u3', (3,)), ('cx', (0, 0)), ('cx', (0, 1)), ('cx', (0, 2)), ('cx', (0, 3)), ('cx', (1, 0)), ('cx', (1, 1)), ('cx', (1, 2)), ('cx', (1, 3)), ('cx', (2, 0)), ('cx', (2, 1)), ('cx', (2, 2)), ('cx', (2, 3)), ('cx', (3, 0)), ('cx', (3, 1)), ('cx', (3, 2)), ('cx', (3, 3))]\n"
]
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/create-transpiler-plugin.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
{
"data": {
"text/plain": [
"['ag', 'bm', 'default', 'greedy', 'layers', 'lnn', 'rb_default']"
"['rb_default', 'ag', 'bm', 'default', 'greedy', 'layers', 'lnn']"
]
},
"execution_count": 7,
Expand Down
16 changes: 8 additions & 8 deletions docs/guides/custom-backend.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,10 @@
"output_type": "stream",
"text": [
"Post-Transpilation: \n",
"CZ gates: 155\n",
"ECR gates: 6\n",
"SX gates: 303\n",
"RZ gates: 209\n"
"CZ gates: 152\n",
"ECR gates: 8\n",
"SX gates: 301\n",
"RZ gates: 208\n"
]
}
],
Expand Down Expand Up @@ -570,10 +570,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CZ gates: 827\n",
"X gates: 9\n",
"SX gates: 1528\n",
"RZ gates: 884\n"
"CZ gates: 836\n",
"X gates: 7\n",
"SX gates: 1542\n",
"RZ gates: 873\n"
]
}
],
Expand Down
48 changes: 24 additions & 24 deletions docs/guides/debug-qiskit-runtime-jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@
"output_type": "stream",
Copy link
Collaborator

@kaelynj kaelynj Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These outputs look suspicious to me


Reply via ReviewNB

"text": [
"Noisy results:\n",
" NeatResult([NeatPubResult(vals=array([0.9921875 , 0.99609375, 0.97460938, 0.98046875, 0.98632812,\n",
" 0.97851562])), NeatPubResult(vals=array([0.97460938, 0.97460938, 0.95507812, 0.96289062, 0.96679688,\n",
" 0.96679688])), NeatPubResult(vals=array([0.94140625, 0.94726562, 0.9140625 , 0.91992188, 0.94921875,\n",
" 0.95898438])), NeatPubResult(vals=array([0.91210938, 0.92382812, 0.88476562, 0.90820312, 0.93554688,\n",
" 0.96289062])), NeatPubResult(vals=array([0.87695312, 0.86132812, 0.83789062, 0.85742188, 0.90625 ,\n",
" 0.9296875 ])), NeatPubResult(vals=array([0.859375 , 0.859375 , 0.84375 , 0.86914062, 0.91796875,\n",
" 0.95507812]))])\n",
" NeatResult([NeatPubResult(vals=array([0.97070312, 0.98046875, 0.9921875 , 0.99609375, 0.99023438,\n",
" 0.99023438])), NeatPubResult(vals=array([0.96484375, 0.98242188, 0.99023438, 0.98828125, 0.97851562,\n",
" 0.99023438])), NeatPubResult(vals=array([0.92773438, 0.94335938, 0.9765625 , 0.97460938, 0.97460938,\n",
" 0.98242188])), NeatPubResult(vals=array([0.90820312, 0.91992188, 0.9375 , 0.95507812, 0.94726562,\n",
" 0.9765625 ])), NeatPubResult(vals=array([0.87695312, 0.875 , 0.93554688, 0.9375 , 0.95117188,\n",
" 0.96875 ])), NeatPubResult(vals=array([0.859375 , 0.87695312, 0.90429688, 0.93164062, 0.95898438,\n",
" 0.97460938]))])\n",
"\n"
]
}
Expand Down Expand Up @@ -359,22 +359,22 @@
"output_type": "stream",
"text": [
"Mean absolute difference between ideal and noisy results for circuits with 1 layers:\n",
" 1.53%\n",
" 1.34%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 2 layers:\n",
" 3.32%\n",
" 1.76%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 3 layers:\n",
" 6.15%\n",
" 3.68%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 4 layers:\n",
" 7.88%\n",
" 5.92%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 5 layers:\n",
" 12.18%\n",
" 7.58%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 6 layers:\n",
" 11.59%\n",
" 8.24%\n",
"\n"
]
}
Expand Down Expand Up @@ -435,22 +435,22 @@
"output_type": "stream",
"text": [
"Mean absolute difference between ideal and noisy results for circuits with 1 layers:\n",
" 3.29%\n",
" 0.0%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 2 layers:\n",
" 7.55%\n",
" 0.0%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 3 layers:\n",
" 13.09%\n",
" 0.0%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 4 layers:\n",
" 18.39%\n",
" 0.0%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 5 layers:\n",
" 25.13%\n",
" 0.0%\n",
"\n",
"Mean absolute difference between ideal and noisy results for circuits with 6 layers:\n",
" 28.03%\n",
" 0.0%\n",
"\n"
]
}
Expand Down Expand Up @@ -581,19 +581,19 @@
"output_type": "stream",
"text": [
"Mean absolute difference for factors [1, 1.1]:\n",
" 4.08%\n",
" 12.42%\n",
"\n",
"Mean absolute difference for factors [1, 1.1, 1.2]:\n",
" 3.49%\n",
" 6.35%\n",
"\n",
"Mean absolute difference for factors [1, 1.5, 2]:\n",
" 3.45%\n",
" 6.86%\n",
"\n",
"Mean absolute difference for factors [1, 1.5, 2, 2.5, 3]:\n",
" 2.45%\n",
" 6.38%\n",
"\n",
"Mean absolute difference for factors [1, 4]:\n",
" 2.49%\n",
" 9.73%\n",
"\n"
]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/defaults-and-configuration-options.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
{
"data": {
"text/plain": [
"<qiskit.transpiler.passmanager.StagedPassManager at 0x7f14001f5710>"
"<qiskit.transpiler.passmanager.StagedPassManager at 0x7fda58066590>"
]
},
"execution_count": 3,
Expand Down
48 changes: 24 additions & 24 deletions docs/guides/get-qpu-information.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
{
"data": {
"text/plain": [
"<IBMBackend('ibm_brisbane')>"
"<IBMBackend('ibm_torino')>"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -313,7 +313,7 @@
{
"data": {
"text/plain": [
"QubitProperties(t1=0.00035761168689508034, t2=0.0004750364393368112, frequency=4815138551.9053)"
"QubitProperties(t1=0.00038032238044822836, t2=0.00033625872042838717, frequency=4815145202.847131)"
]
},
"execution_count": 6,
Expand All @@ -335,22 +335,22 @@
{
"data": {
"text/plain": [
"{'T1': (0.00027066209780797425,\n",
" datetime.datetime(2025, 7, 31, 20, 26, 9, tzinfo=tzlocal())),\n",
" 'T2': (5.154603366721979e-05,\n",
" datetime.datetime(2025, 7, 31, 20, 26, 9, tzinfo=tzlocal())),\n",
" 'frequency': (4721900352.1746235,\n",
" datetime.datetime(2025, 8, 1, 6, 1, 9, tzinfo=tzlocal())),\n",
"{'T1': (0.00010952481866160394,\n",
" datetime.datetime(2025, 8, 14, 1, 24, 28, tzinfo=tzlocal())),\n",
" 'T2': (4.592939686404861e-05,\n",
" datetime.datetime(2025, 8, 14, 1, 24, 28, tzinfo=tzlocal())),\n",
" 'frequency': (4721906679.222694,\n",
" datetime.datetime(2025, 8, 15, 5, 56, 4, tzinfo=tzlocal())),\n",
" 'anharmonicity': (-311978659.73435575,\n",
" datetime.datetime(2025, 8, 1, 6, 1, 9, tzinfo=tzlocal())),\n",
" 'readout_error': (0.0341796875,\n",
" datetime.datetime(2025, 7, 31, 21, 26, tzinfo=tzlocal())),\n",
" 'prob_meas0_prep1': (0.0263671875,\n",
" datetime.datetime(2025, 7, 31, 21, 26, tzinfo=tzlocal())),\n",
" 'prob_meas1_prep0': (0.0419921875,\n",
" datetime.datetime(2025, 7, 31, 21, 26, tzinfo=tzlocal())),\n",
" datetime.datetime(2025, 8, 15, 5, 56, 4, tzinfo=tzlocal())),\n",
" 'readout_error': (0.04541015625,\n",
" datetime.datetime(2025, 8, 14, 22, 24, 13, tzinfo=tzlocal())),\n",
" 'prob_meas0_prep1': (0.015625,\n",
" datetime.datetime(2025, 8, 14, 2, 33, 40, tzinfo=tzlocal())),\n",
" 'prob_meas1_prep0': (0.06787109375,\n",
" datetime.datetime(2025, 8, 14, 2, 33, 40, tzinfo=tzlocal())),\n",
" 'readout_length': (1.3e-06,\n",
" datetime.datetime(2025, 7, 31, 21, 26, tzinfo=tzlocal()))}"
" datetime.datetime(2025, 8, 14, 22, 24, 13, tzinfo=tzlocal()))}"
]
},
"execution_count": 7,
Expand All @@ -374,13 +374,13 @@
"output_type": "stream",
"text": [
"Qubit 126 Properties:\n",
" T1: 0.0002746921073949362 seconds\n",
" T2: 1.68752262717473e-05 seconds\n",
" Frequency: 4908227695.33459 Hz\n",
" T1: 0.00025930605264857105 seconds\n",
" T2: 1.886433514889539e-05 seconds\n",
" Frequency: 4908229044.455285 Hz\n",
" Anharmonicity: -308575726.39301103 Hz\n",
" Readout Error: 0.072021484375\n",
" P(0 | 1): 0.046875\n",
" P(1 | 0): 0.09716796875\n",
" Readout Error: 0.0242919921875\n",
" P(0 | 1): 0.02294921875\n",
" P(1 | 0): 0.025390625\n",
" Readout Length: 1.3e-06 seconds\n"
]
}
Expand Down Expand Up @@ -430,7 +430,7 @@
{
"data": {
"text/plain": [
"InstructionProperties(duration=6.6e-07, error=0.005820281053298959)"
"InstructionProperties(duration=6.6e-07, error=0.004848429058962961)"
]
},
"execution_count": 9,
Expand Down Expand Up @@ -459,7 +459,7 @@
{
"data": {
"text/plain": [
"InstructionProperties(duration=1.3e-06, error=0.0341796875)"
"InstructionProperties(duration=1.3e-06, error=0.04541015625)"
]
},
"execution_count": 10,
Expand Down
14 changes: 7 additions & 7 deletions docs/guides/get-started-with-primitives.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"ibm_brisbane\n"
"ibm_torino\n"
]
}
],
Expand Down Expand Up @@ -167,7 +167,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
">>> Circuit ops (ISA): OrderedDict([('rz', 2734), ('sx', 1185), ('ecr', 576), ('x', 284)])\n"
">>> Circuit ops (ISA): OrderedDict([('rz', 3826), ('sx', 1601), ('cz', 968)])\n"
]
}
],
Expand Down Expand Up @@ -222,7 +222,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
">>> Job ID: d266hogut9ds739ge2hg\n",
">>> Job ID: d2fdqan36hfc738s2mrg\n",
">>> Job Status: QUEUED\n"
]
}
Expand All @@ -244,7 +244,7 @@
"output_type": "stream",
"text": [
">>> PrimitiveResult([PubResult(data=DataBin(evs=np.ndarray(<shape=(), dtype=float64>), stds=np.ndarray(<shape=(), dtype=float64>), ensemble_standard_error=np.ndarray(<shape=(), dtype=float64>)), metadata={'shots': 4096, 'target_precision': 0.015625, 'circuit_metadata': {}, 'resilience': {}, 'num_randomizations': 32})], metadata={'dynamical_decoupling': {'enable': False, 'sequence_type': 'XX', 'extra_slack_distribution': 'middle', 'scheduling_method': 'alap'}, 'twirling': {'enable_gates': False, 'enable_measure': True, 'num_randomizations': 'auto', 'shots_per_randomization': 'auto', 'interleave_randomizations': True, 'strategy': 'active-accum'}, 'resilience': {'measure_mitigation': True, 'zne_mitigation': False, 'pec_mitigation': False}, 'version': 2})\n",
" > Expectation value: 2.860418623286167\n",
" > Expectation value: 25.839241845643762\n",
" > Metadata: {'shots': 4096, 'target_precision': 0.015625, 'circuit_metadata': {}, 'resilience': {}, 'num_randomizations': 32}\n"
]
}
Expand Down Expand Up @@ -330,7 +330,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
">>> Circuit ops (ISA): OrderedDict([('rz', 3647), ('sx', 2061), ('ecr', 579), ('measure', 127), ('x', 14), ('barrier', 1)])\n"
">>> Circuit ops (ISA): OrderedDict([('rz', 3036), ('sx', 2723), ('cz', 906), ('measure', 127), ('barrier', 1)])\n"
]
}
],
Expand Down Expand Up @@ -384,7 +384,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
">>> Job ID: d266i68ut9ds739ge340\n",
">>> Job ID: d2fee7emsp5c73b0uang\n",
">>> Job Status: QUEUED\n"
]
}
Expand All @@ -405,7 +405,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"First ten results for the 'meas' output register: ['1100110010110111011000010111100111110111101011010001001110011100010011010111101110000100111110111111101101111111011111001101011', '1000101001000010011101110111000100110111100101110101111011111110001110011101101000000011000001011100011101100111110100111001110', '1100111110111100111111000110010100110010110011111011011101011001010111011110011011101001001001111110011110110110101110101101011', '1100100000001111010011010101111001111110111100001001000001100000100111011011011010101011110000011110100111110111101111011011101', '0110101011001111001101111010010111101111011100101001011101101111011010011110101101011111101000110010110000110001100101010011100', '1111001111001100110011100010001101101101011010101101000000111010011011111011011101111111000011010101011011000111011101110101101', '1001111100000100010100110100101010010100001000110110101111110100110010111111001000101001101010110001110001111111111100111100101', '0101001101110010010100010010101000001101101111101111001110101100101011111000110000001001010000011110100111110000001101101100100', '1001000000100000100010100111011010101000010101011011111001010101001001010100100001100001100001011110100110110011111101010001100', '0110101100010000111010011110111001011111110111100111101101010011110001001011000101111111011101110000110111110010000101111111111']\n"
"First ten results for the 'meas' output register: ['0110000010100000111001100110110010010011001000011001111100001100000111001001011000000011100100110000110111111101011011111100000', '0001110001010011110001011011110100101010101100000001110000100001010001100000101000001100101110011100000000111111010000000010000', '1010001001011111111000010101110101110000101000001000000100110111001111110111000110000000000011001010111000110000011100100000100', '1110001111001101100101100111001101000100110100000111110001010001000000111010101001101100000111010011101110101111111010100110101', '1100011001000100000000011100000011001010011101001101001111100110100011000011101011100000000100100001010011101011010001100100000', '1100011110100011010011000100001111000111011111000010111100010111000000110100010001110001000000110100011010011111011010000000000', '1100000101000011000101111000010000000010001100110000011000111101000101001100100010110011000010011001001011110011001100000001100', '1001101001000001000000011001000110010011001111010010011010010000010100001001000000001111011011101101101010111010111100000000011', '0101011010010011010100001110000101000111101010001001011111100001000101100000101101100100000011011000000101010000110010001010110', '1100000011010011000001111001000011000010111011011111111110111111011011110011011000001010000001001001010001101000111100101110000']\n"
]
}
],
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/measure-qubits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{
"data": {
"text/plain": [
"<qiskit.circuit.instructionset.InstructionSet at 0x7fa7dc152290>"
"<qiskit.circuit.instructionset.InstructionSet at 0x7f1b94f6a6b0>"
]
},
"execution_count": 1,
Expand Down Expand Up @@ -92,7 +92,7 @@
{
"data": {
"text/plain": [
"<qiskit.circuit.instructionset.InstructionSet at 0x7fa7dc152080>"
"<qiskit.circuit.instructionset.InstructionSet at 0x7f1b94f6a8f0>"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -127,7 +127,7 @@
{
"data": {
"text/plain": [
"<qiskit.circuit.instructionset.InstructionSet at 0x7fa7dc151f30>"
"<qiskit.circuit.instructionset.InstructionSet at 0x7f1b94f6a680>"
]
},
"execution_count": 3,
Expand Down
Loading