diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index a2279ec29dc..7c7a23fb556 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 57b6649c3e1..73e239b7cb9 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index d61e7a39da9..7042845486a 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index a914c0d03f0..fd0f07effce 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index dcb0ff9e6b6..392604a9554 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 7908a6a328c..fddeb637b7d 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 1afe9259b31..64f26eb169a 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index b3c807e6c47..183a3ce834a 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 2b6e9de0e8a..93af48b9ea1 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 33e6578516b..68849e9f609 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 045474e9107..5568a4f74e0 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index d6252756792..d8c566278b2 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 63803d4e1e9..e23a228a260 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 6cd85c1d7dc..20656653e11 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 37b4d8bdadf..a11bf0827a8 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index d2421220738..f7e516973b6 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 8eeab8011bc..9c61ec34344 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 5dd4dd37a1f..359c8a87a8a 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index d5ee502950f..e2c9be0e827 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 1839371601e..c97743f6074 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 00930d5bfba..78030cdad2e 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index f6e5fed2cc9..b99151061fd 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 197e059022e..485455ca823 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index cf24752a1ff..3b0816c7d26 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index eb8acf7deb5..39acf19dc72 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index b86fbcc6a4b..93dfda90577 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index ae71c09d0ee..f059843a6fa 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index e12f4d439f8..c48e98e4d20 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index a0e8c5c7a67..d2284a527d3 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 70af238a2e9..7b2076dd55c 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index ed90b1a368d..a1f512fea09 100644 --- a/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.18/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index f351a32dc8e..6a895646806 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index ad8886e1673..8e853dd1d21 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 9fec9ea10ff..e02ece86f3e 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 6b7a58897fd..27c763206a6 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 58772a1880d..65c3226c97a 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 05f39a4732a..ec97b51e3d8 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 936da2e50fe..9a7e2fffbfd 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index b41623dfd48..53446f86d0f 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index bed3ac45218..fdceb0badb0 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 5bd939da8c0..0b0a6aade53 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 720d3d448b5..cefa2eac2c4 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index edad6a3e325..ab65a21bf16 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 1e5fee27d25..6ead3c15555 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 0f014f9a2a6..822f359b6cf 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 3b2aabee801..c7ba38269d9 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 35d5fa21299..ca8cc8086a4 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 18d8d350b20..34696e6144b 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 46e78276952..9bd6b0bb1a2 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 7557a924436..d75107a7152 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index ab2d78e5854..cc0d40b1744 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 89a60097555..c95d6dc1126 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index b3ed4e6b677..6279c4c6f6a 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 454c1e575fb..a7e9cda5c50 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index a5ff979c058..1a61b387c86 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 3d1db81658b..7e679db0957 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index d55d774989a..e5900dd6fc4 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index d21842bcd21..26a8e995066 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index a51c39889e7..162007eb39a 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index cec8f635915..79a685d32c0 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index dcc1c92c97c..b11f4dd088f 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 737718dcdc3..36cf10c463f 100644 --- a/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.19/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 9ab3ba1b41a..e5b649deb77 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 180956b415f..2d8d26708b9 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 9917ae4d811..80e9ded041e 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index c30cb02613a..a7b465b84e1 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 8170649628b..1e18479f1de 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 20c6ebdd1ca..7b9d1caded3 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 7f5c49fabd0..014b8c8cad1 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index f44a7520277..90552c7b429 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 273dac0d7b0..7ba4cfeac5c 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 5de087ce5f7..0f8ab39c871 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 8edbfd66ab8..513a08386d8 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index d4c1ac59b31..c1de0faadc0 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 2225a7224ee..f75815af5ff 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 9aa64caabac..b39e60ddaf8 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 1f70b1072d5..11d8ebae037 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 796f851a475..d0a6153c692 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index d0d9d4c2fa5..6b92e77aa31 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 21c9de65a10..d543925a840 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index f42ca369390..5310053cd5f 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 0f7a36bb7b3..49f25c7ed0c 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 0f8fe8ff0a4..e0a904ec06b 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 4437e3d6695..2a68755f5c1 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 38971f2cdbd..67a125be5be 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index a3b38d1e5ab..eb23ccf51e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index ce9ca8fc711..de799f15a64 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 5a4f7847afe..bc410ac922e 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index bddddcc2b11..c065b1aab06 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index 74ab9be123b..d983fbb26e8 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index f8bb434afe8..baf45b054e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 3d14d1931d1..47068645c78 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 06315a226d7..645511869e8 100644 --- a/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.20/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index c6f26f260bf..d09cfb9c717 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 81af1507a61..0bdc1640290 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 90598976dd5..0458e2ad4b3 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index db4460c3b52..6e105162d47 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 2d88d7c5521..1b0f5ab237b 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index b84e71915ba..4c2052e667d 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 1adf6242598..185cc46dbd1 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index f4e100df9ae..6955b11b42c 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 0e8c3c854f9..5b2e3a5944f 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 80fd863d742..79671ae9897 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 260a82c8b12..29f9990cd98 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 437c96694b9..a40289d74ca 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index ac30f3c77f1..8c3a6f24225 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 4e941b8cb7f..36514f40d06 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 96351b577dc..b4f004a8503 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 144ca99f865..c512d375382 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 8570b96947a..eab45536823 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index e40c04cc829..c818c412334 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 9481f154f52..8dec103fb8b 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index deefc617611..4131f440274 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index e2df31ac865..10bc1dfd481 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 68d083c4e8c..fa0e3c18739 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 5062897a07e..767a5d8352f 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 8b926d18da4..e6e95fbcf4f 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 6e3df3eb0d4..d021445823a 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index f5411962b34..e397990b942 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index 45f5fe31057..c46e638177b 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index ca9cc6273be..a5b9ecf2833 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 101c7b4f0b9..547a914a960 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 0fbb0192652..3cf91b842d3 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 300c27cc2d0..034a099a345 100644 --- a/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.21/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 6c37776ef84..f21dccb234e 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 5ed10067815..e303c307aae 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 48274075d9d..9015850bb3a 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 0598bb736a0..a8c1747fbb2 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index f892ef5d553..1b67f49ba9f 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index f06d13a719f..d5931b35c95 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 2840cba76c1..4613559a3a7 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index fa75dee0092..5b41037be8f 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 47bf7c0aa45..4bc1ccd4a5c 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index eb9ae346e19..2b95ee3889e 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index ead38b11e12..141d2dc9334 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index b0edeb2d6f1..894694f07cc 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index b4257375f4e..ffc521d25b4 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 93bfb4df0f9..45cd396e869 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 3ff008c59e3..fa4c9ce8a4c 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 10622b29de8..1c3a8a4267e 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index f2d84e7635b..38a474a1b81 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 9ab37d55808..c7d369ab6e5 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 85bf617c2a8..11b74d9ae69 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index f510c799f3e..eded9cf12ec 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 09dbefa2e24..2976e0fabb8 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 19695a45ca9..efea72df2ab 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 448c16101c1..b0d9014b674 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index a6385ca86c7..0584e669b51 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index b33856d41cf..df31fdf3c31 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 19e6af95920..0f86092bcdc 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index 68085036662..fec49180179 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index d0d9dedf55b..704383c4b41 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index dae1994ddc0..250e4d2ecc4 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index a64a87ae5c4..9e1ae707663 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 40c56717f97..da6d960b670 100644 --- a/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.22/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index a5d3efd8cf3..f0036824ff4 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 77e8c418c05..39172435500 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index c238e15c36b..b3224be006b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index d3fed36e2ba..5659160fed9 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index dfdc5c3420c..6b0bf82370e 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index bc1896f9f5e..42aff52a110 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 8bed9d0a0e5..40608ac853b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index 966822fb119..f2b3e8ed4d9 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 1fe7eb9584b..e3b64208a7b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 378bb7eec2d..f531d65655b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index e262128ded3..dfb73210819 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 1b221828f40..74cfb1cbe9e 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 10e5fe0c308..e06d44a293b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index da0f169520c..9b3215b81d6 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 1d8910845de..385a4b2b75f 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index c5131423d5e..99e094f761c 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index e3a8d5d914c..243361db086 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index fd72e350347..b0ca4a253d8 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 23db2133c07..98d3fca2cca 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 23c56ae0ca2..3653a51ca30 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index f23560b9915..373b490bfbd 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 616277fa92e..755b1e2c0dc 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 02a91921f0a..2146b906256 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 17e0741c1bb..ef1860c47e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index fdee7f88dd7..ac24df3a3f4 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 719cc96fc64..06f9564f704 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index fff3d009cf7..cde825a07f5 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index 523fe6674bd..c73b46bd0d1 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 550b1561e49..0d1736b2a88 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 2c81984c812..9b3585fa176 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 85bd8c54a44..4396529950b 100644 --- a/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.23/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 0039615d14e..295001fd99d 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 5a036bed80a..17fe772abe1 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 75fb0c7c59f..8c50f709039 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 489b6417873..045971bf1b7 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index f3004a39fd2..14774bd91fb 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 3f6baef8d83..bd9ce1cd55e 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 4e052dec872..2795207a5e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index eec78181dd1..a092dba7e0c 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 29563357e03..500defda776 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 603a3db3c9c..5a88a816fc3 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 44d74c3ccb3..7214eabd6b4 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 29eca2c7c97..3368a782ace 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index c61d6becb11..029b0a4e88e 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 89ca9ffcfb6..a13b415379c 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index eafd0dc59e9..5109854bb14 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 275f3f8381e..072725cc717 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 7849ecfa869..90c626a1b08 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 8265c3510bc..06426e847c2 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 0e5b98b3ee8..77431964fc4 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 5c685a3aa55..f853910fc33 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 32ab7ac536e..f75d137f9a1 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 52642ca2b28..efb21192331 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 335797e0817..4c288367ccb 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 826d50616a9..6f526747432 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index f1d97b3b091..6a82f9f094d 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index b191883f946..dd2e737244a 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index 18ab0b8230b..20244549608 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index dde2caaef06..2b8dd24feca 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index ae4d8b3d695..80e8ae80371 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index d697e5a03aa..4a3067b0ca3 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 063e3f83c39..d791a27e2b6 100644 --- a/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.24/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 11e9c7f0816..1e108fb546f 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 0bd2c96d2ef..423c9b7288e 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index aadf216503e..974c6053228 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index cc43e98fa33..1600a0b82a9 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index aed6b47113c..b96416988bc 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 1e1a08a4849..b5e425a43d4 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index fe7647bedef..363ffa9773f 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index 7c5aefe6c00..404278a4828 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 0c5c1fce603..2fad753d5f4 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 4e627ab7b34..4dba3552d0f 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index c551318c4b1..68c5d18e262 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 3f308125f9f..8f0eab75035 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index a862ad4c3e9..d118fd3fe4b 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 2efe17909c9..bbfa962d8a2 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 60c8a0f846f..6797eafdd0b 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 30f0c7fc4c1..12d4c189b4a 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 00c82c7f647..41f8c50f038 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 7e5b2178c89..6346ccbb170 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index d6a656ab004..d09baa82a27 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 951948b28d6..2b472668811 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 234c8031624..bbbd1c8ffe8 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 3d723d29e28..8ccdf014735 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index f8e1e3d7b55..653ee183cf1 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 25a875d2f88..8bc01240e30 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 6873076ce16..ef35e4265d7 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 5274c9ad72c..4917065ead5 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index f439b6ca976..91f1de13016 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index 25b185330dd..436eaac3958 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 081816e5ae4..59ec34ab3a0 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 87a44c93108..58932cef8a2 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 86b839d3d6e..d634126135c 100644 --- a/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.25/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 7208c50e431..1f5f2ee5f2f 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index c153acee9f5..3e5e707cb09 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index f92c3b47768..a12097c1d98 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index bd8c8f338f1..105d55f3aa4 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 3525cc3a394..3dfd7fe390a 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 5fd491bd689..d9b2b712afd 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index a9a21d266aa..da686e6d173 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index 127a5a9d700..3f0c9064d3c 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 1076dbffe39..8a83b3dc092 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index d7badebe8f3..d3aa201848c 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 30cbd86c1c5..a53b115fadf 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 6079d3f9702..b34dc36e64f 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 3f30a5ce9af..56cf200fb41 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 39e96448d97..f32a6b733d6 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 25a97233276..57cf80af481 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 387102b7f98..5755e716a13 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 276f6340147..e2e22770e9a 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index cb9e758d8cd..94681ecb1cc 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 30ef015fac4..12ea19f05af 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index c26b1811f09..2ec67d8ef43 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 2f2f9fdc206..75c0279acae 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 33efb2c8967..db941a01fe9 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 65c575472da..4a961b086f1 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 6b33d7469bb..01eb3150f1e 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 627e277f655..a4c95ed05ae 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index b8112f974c1..321191b2952 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index fe22e419807..004ea9f3120 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index 6612788d79d..c9fb0bacdef 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 3b0ba5f098a..625a1edd830 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index b5502bc9f23..f0d1520de43 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 130ada3bedd..1a97846a6dc 100644 --- a/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.26/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index c416551b1c1..dd04d38bb03 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index ce0846f6f73..5d2bf6b333e 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 328b3063d64..5d9f5023a7d 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 6fe178cee35..d8f9748be64 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 729881b6e8f..8b7eb83e825 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index b512bde050f..2fca31b368a 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index d49b79de432..9713091f077 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index dae891e2c1f..1f2d8f475fc 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index f4eda19fd08..fc8ac0768cf 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 07a2a90ee9e..8d387781728 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index 195b2c5803d..fb28cb8bbad 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 40efb04962d..b195009f11d 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 848df52a10d..92ea499605a 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 2eca997abd4..71d98484800 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index b3fbfb9f25e..72ea5bae395 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 77848d86330..a0c7e9aeb5e 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 50d5f14f297..1238febfedc 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index e1c40eaf689..29b77c7c307 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index e4250da355d..2c5f2be7c85 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 53f0cfe45b0..8f8b73323d9 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 8b45775d4d1..74e3ec8cc19 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index e5f55249bc1..ec1d998e6fb 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index e5d328dc603..8c2ecf77afb 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 2856dab8add..a1e093119ba 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index adc89a7d649..41279bff1ef 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 964a6870892..e8bf9c00263 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index a97d59c502f..656b907dd01 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index b86dddea7f1..369ba9d485c 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 59cdf792eb6..915419bae69 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index a20cdd1a3c4..8d7618acdb1 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 2744c495282..d7133194d14 100644 --- a/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.27/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index c1a37c6a13f..aa51a6e8958 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index f59f274ad5b..f7110db1764 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 8f29d051ba3..3787f0f02f6 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index bb785ad73bf..daa74080c64 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 5ac004d7285..1a205d986ff 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 4bdccdcfdb4..087e56a63b0 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 29f986eefdf..cb5746496fd 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index f84ffb100e4..bb08949d6b0 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 66216b195fb..ee0688ebbfb 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 962404a43f4..d2a086ad9e0 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index abb21b1662a..f63e681edd7 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index c0ed660e13f..7fead3b99e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 612ec136bd5..9ae7bd780e1 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 5c788abc69a..ca08983fbec 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index a70437c6b05..56998b6d1b9 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 5bec7f0aca6..4dbc19fdef3 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 1b1e1971293..7a3042b15d2 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index e924e0e82b8..1b0c3095913 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index fe53d3df8dc..058b6030d36 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 6c55e751d51..0537ab75f34 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 486ec41d8a5..9aef65b4956 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 16433891a34..dea1f86d9e3 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index dd74a911cfc..d5f06b0f4c7 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index ebccde3ef15..5dd94d3c896 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index e68c3eaedf8..5c81320165c 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index 2f73140ecf2..151f682abbc 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index 8c8d275fa12..d69d98e8cad 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index 5544704321d..903f8b8f244 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 21fc2df460a..53377335a0c 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index 2bd177285a6..c6988c96cf7 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 551ae5b1a51..4173f0d1788 100644 --- a/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.28/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 15d5bb8050a..cc7a83d40a6 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index a5fab2c16a9..1c555c693fc 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 09d73a6f358..fe76df118c4 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 1bbaafaff31..c23215e9682 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 59ff176033a..274a2a34eb3 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index dadda305d73..060a0164953 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index b32e59363e9..49ceedf203d 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index ae195019897..1223bd1fd90 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 9efd62dd6f1..a4b787b9982 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index fc20fd3072b..65299655280 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index ded46fc993b..747f8461eb6 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 86ac575edad..8b12efe6631 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index a0a859b59ba..1eff5ad1391 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 2a47504b1ec..23de64118f9 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index 37d7999f453..c25927faae7 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 27111bf33d2..bbfa02a2fbd 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index 20bf4cbecfa..fcf3224e5e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 2fe87bb601e..1d9f3ad4974 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 04d24cc7998..a1ce07adc1d 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 30b25064af1..279fa7fd10d 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 3322dc07a2b..727b73ea0f5 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 731ec0c29a5..5bda28db7e3 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index f5e530822d2..eb3b919b7dc 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index 444e510b838..5b399bfadd7 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 3f6395f64cc..3d0fbe399b1 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index a79cf858602..5ae764acc5e 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index a201f23adcb..02f74830d16 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index f2caa9db160..14d41f8961d 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 492cdc262fe..9d6946fc37d 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index c5b1a68fc79..9dd858b126a 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index a0b59df678d..d2f847e3e4e 100644 --- a/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.29/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx index 69ae5049ca8..5a273b74b51 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmaden.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 0c1f7bb7cf1..db83795a072 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx index 63cf0abae12..920b2ef298e 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonk.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index d99cbe7f51f..a6f155f433e 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx index 39569b24392..2f5f3ed08c0 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingen.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 09d176c008c..dc4b89e3fc4 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx index 5957054eb67..b7bdeb3aa24 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlington.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index 634c143284e..f27fbd2ed4c 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx index 121b6e09657..584f707ed62 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridge.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 4c1ec839c59..9696a4ebf79 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx index ea0d231b817..9ba1a396ef0 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssex.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index cc831834a8f..f52f4a659e7 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx index 9cb618df73c..ded22675773 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburg.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index bdc4e7e8fa8..1d7b9ac5880 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx index c806855fa80..c3e4ad7d9aa 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index f068e3fc0e5..9d61ee9ed53 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx index cf05c717a3a..d6f1cf50e3f 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeMelbourne.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx index 62f8909f7b0..7a512acd1d8 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurense.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 367150388bd..42e25a7782d 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParis.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParis.mdx index 648e9c2ea81..80d21600a03 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParis.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 7f948a9b31f..1d4a09323d3 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx index 50b03b25288..1352817db64 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakePoughkeepsie.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx index 58d795c1426..11c1f6b41e2 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeRueschlikon.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx index ee9bf94bd9b..6e38ae6130b 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingapore.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 378ab63eb90..05fed92c22b 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx index d76a19ecc8e..d510b167fd3 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTenerife.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx index 81626a70526..95a02649b7d 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeTokyo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx index d1a84e2cb73..9683f7ccefa 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigo.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 1874b59446d..f92c43dfea9 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx index f562e3c402f..ee02943c851 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktown.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 5d8beb55327..9731f114a7f 100644 --- a/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.30/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 8022c3e591d..08bbe4307c1 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index 07110a2a402..4eb4a349778 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 5d81f536d7c..8e3ccab5f15 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index 6aa31b665f8..2f119706ab6 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index 5876f4f0c60..4f339fc2fd7 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index 42ceff241dc..5eae9c29499 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index 70d39f63125..639458f20fb 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index c8265710a69..4d23c27523b 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 660dd42ebef..1e030b526a9 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 8071be20e3d..6ddfaa70dca 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index f62977bc9c1..cb12126f013 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index 030237b25f1..5f76e4bf068 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index ca7d472bd98..d8cdad468a5 100644 --- a/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/0.31/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx index 565a633110e..928e470a5d4 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeAlmadenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx index f7c6c099db3..54c43cf743f 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeArmonkV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx index 283dd0341ab..bdc3a3dbd0d 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx index dd0a2cfdc3d..e7736899a37 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx index e96eebe81e8..19903a22dc7 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeCambridgeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx index f5100111307..943060ea013 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeEssexV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx index d14fac42f11..e707398ebf2 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx index 27bebc2fd4a..b86b18b67ef 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeLondonV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx index 722178bb390..e5156980baf 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeOurenseV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx index 45cc41bd657..52395138423 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeParisV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx index 7978f4d5221..17ea4948cdd 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeSingaporeV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx index bec84a3dc7b..d9ae57b06be 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeVigoV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx index 1190c7ec145..27710bd3697 100644 --- a/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.fake_provider.FakeYorktownV2.mdx @@ -11,7 +11,7 @@ python_api_name: qiskit_ibm_runtime.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.19/characterization.mdx b/docs/api/qiskit/0.19/characterization.mdx index 8c79d03d782..e42fb644d02 100644 --- a/docs/api/qiskit/0.19/characterization.mdx +++ b/docs/api/qiskit/0.19/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [19.75629716129194, 16.486990665451838] [3.358580488452602, 1.291599179133599] {'0': [array([ 0.93664502, 19.75629716, 0.08727868]), array([ 1.08052514, 16.48699067, -0.06258161])]} diff --git a/docs/api/qiskit/0.19/circuit.mdx b/docs/api/qiskit/0.19/circuit.mdx index 58ef7bd2fdc..918bb226107 100644 --- a/docs/api/qiskit/0.19/circuit.mdx +++ b/docs/api/qiskit/0.19/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.19/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.19/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index aa13d9797cb..a688653a01d 100644 --- a/docs/api/qiskit/0.19/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.19/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.19/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.19/qiskit.converters.circuit_to_instruction.mdx index 97b0dc427c8..79d6e8935a3 100644 --- a/docs/api/qiskit/0.19/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.19/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epc.mdx index aa95de0f8e9..afb5af4c51b 100644 --- a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epg.mdx index 60d38887d3f..e0c6894c763 100644 --- a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epc.mdx index c39fab0d063..8b74b80b739 100644 --- a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epg.mdx index a0a7fb9a90d..7946c04533e 100644 --- a/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.19/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.19/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.19/qiskit.ignis.verification.gates_per_clifford.mdx index 090b87dad29..fae7abc3ce6 100644 --- a/docs/api/qiskit/0.19/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.19/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,11 +44,11 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` Making the n=2 Clifford Table ``` - ```python + ``` {0: {'cx': 1.5211428571428571, 'id': 0.0, 'u1': 0.2502857142857143, diff --git a/docs/api/qiskit/0.19/qiskit.pulse.pulse_lib.discrete.mdx b/docs/api/qiskit/0.19/qiskit.pulse.pulse_lib.discrete.mdx index db7d2265275..7559e759f28 100644 --- a/docs/api/qiskit/0.19/qiskit.pulse.pulse_lib.discrete.mdx +++ b/docs/api/qiskit/0.19/qiskit.pulse.pulse_lib.discrete.mdx @@ -246,7 +246,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -401,7 +401,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.Clifford.mdx index 707dcc352da..497602c6996 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.Clifford.mdx @@ -42,7 +42,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.DensityMatrix.mdx index c394c248837..21871361fd5 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.DensityMatrix.mdx @@ -365,7 +365,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -388,7 +388,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -629,7 +629,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -648,7 +648,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -665,7 +665,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.PauliTable.mdx index 503a4fd0628..f098c6e643b 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.PauliTable.mdx @@ -333,7 +333,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -418,7 +418,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -459,7 +459,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'ZI', 'YX', 'ZX'] ``` @@ -722,7 +722,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['XI', 'ZI', 'XZ', 'YX', 'IY', 'ZZ', 'XY', 'YZ', 'IX', 'II', 'ZY', 'ZX', 'XX', 'YY', 'IZ', 'YI'] Lexicographically sorted @@ -785,7 +785,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -890,7 +890,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.StabilizerTable.mdx index 5d158ad082c..4e129575326 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.StabilizerTable.mdx @@ -373,7 +373,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -467,7 +467,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -508,7 +508,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+ZI', '+YX', '-ZX'] ``` @@ -785,7 +785,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+YY', '-YY', '-YZ', '+ZI', '-ZX', '+IX', '-II', '+ZZ', '-XI', '+ZX', '-XZ', '-ZY', '-IX', '+YX', '+XI', '-IZ', '+IY', '-XX', '+XX', '-ZZ', '+XZ', '+YZ', '+YI', '-ZI', '-YI', '-YX', '+IZ', '+XY', '-IY', '-XY', '+ZY', '+II'] Lexicographically sorted @@ -848,7 +848,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -961,7 +961,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.Statevector.mdx index 1f4bb23a88e..a09c7b99353 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.Statevector.mdx @@ -387,7 +387,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -410,7 +410,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -651,7 +651,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -668,7 +668,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -685,7 +685,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.19/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.19/qiskit.quantum_info.hellinger_fidelity.mdx index fdd93d47729..51c52acf2c9 100644 --- a/docs/api/qiskit/0.19/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.19/qiskit.quantum_info.hellinger_fidelity.mdx @@ -49,7 +49,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 1.0 ``` diff --git a/docs/api/qiskit/0.24/characterization.mdx b/docs/api/qiskit/0.24/characterization.mdx index 01b3f5a58d3..c1157c330f8 100644 --- a/docs/api/qiskit/0.24/characterization.mdx +++ b/docs/api/qiskit/0.24/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [24.037383005090874, 15.135887350545305] [7.8548254799468005, 2.1017848602903797] {'0': [array([ 0.97493845, 24.03738301, 0.02706287]), array([ 0.99312089, 15.13588735, 0.0285408 ])]} diff --git a/docs/api/qiskit/0.24/circuit.mdx b/docs/api/qiskit/0.24/circuit.mdx index 82587dbd5df..a943d194bfe 100644 --- a/docs/api/qiskit/0.24/circuit.mdx +++ b/docs/api/qiskit/0.24/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.24/pulse.mdx b/docs/api/qiskit/0.24/pulse.mdx index 7b0be963d09..9ffe9b1fdaf 100644 --- a/docs/api/qiskit/0.24/pulse.mdx +++ b/docs/api/qiskit/0.24/pulse.mdx @@ -162,7 +162,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -274,7 +274,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -335,7 +335,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubit in backend: There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.24/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.24/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index 0352fe26f9b..c1f3c6b6d5f 100644 --- a/docs/api/qiskit/0.24/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.24/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.24/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.24/qiskit.chemistry.drivers.gaussiand.mdx index 2a511d87d58..0a684d5ff87 100644 --- a/docs/api/qiskit/0.24/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.24/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.24/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.24/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.24/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.24/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.24/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.24/qiskit.converters.circuit_to_instruction.mdx index 0036e9214d4..bf336806360 100644 --- a/docs/api/qiskit/0.24/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.24/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.24/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 1e62e3201b5..46631867595 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.81 ± 0.01 Expval (with mitigation): -0.99 ± 0.01 ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epc.mdx index 3b9705e0a09..6646f3578bb 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epg.mdx index 9cbefab98df..67d5efc7268 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epc.mdx index b49f991d32f..299bbde5f36 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epg.mdx index cfae6b0dbcf..53297fe5c05 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.24/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.24/qiskit.ignis.verification.gates_per_clifford.mdx index d8aa2194d0a..f12350c6c4b 100644 --- a/docs/api/qiskit/0.24/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.24/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.5131428571428571, 'id': 0.0, 'u1': 0.13942857142857143, diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 4618753317b..57369d3fed2 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.active_transpiler_settings.mdx index 3505ee53f12..00e9c48b057 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.circuit_scheduler_settings.mdx index fa1d970d4c6..baa31dcda68 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.num_qubits.mdx index 69c56a285a6..83aa7458b32 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.qubit_channels.mdx index 44176cdeb15..e6d149639b7 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(0), ControlChannel(1), MeasureChannel(0), DriveChannel(0), AcquireChannel(0)} ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.24/qiskit.pulse.builder.transpiler_settings.mdx index 889914a4b47..bb03dd8c9bf 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.24/qiskit.pulse.library.discrete.mdx b/docs/api/qiskit/0.24/qiskit.pulse.library.discrete.mdx index aa9909414bf..42bde74d6c0 100644 --- a/docs/api/qiskit/0.24/qiskit.pulse.library.discrete.mdx +++ b/docs/api/qiskit/0.24/qiskit.pulse.library.discrete.mdx @@ -247,7 +247,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -402,7 +402,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.Clifford.mdx index 2562bcb21be..1c38bebe5f7 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.DensityMatrix.mdx index 1cf8241bc0d..59bf980f0e0 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.DensityMatrix.mdx @@ -401,7 +401,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -424,7 +424,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -651,7 +651,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -670,7 +670,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -687,7 +687,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.PauliTable.mdx index 0c759d80515..14b6ca5be41 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.PauliTable.mdx @@ -300,7 +300,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -383,7 +383,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -422,7 +422,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'ZI', 'YX', 'ZX'] ``` @@ -695,7 +695,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['XI', 'XY', 'IZ', 'YI', 'ZX', 'ZZ', 'XX', 'ZY', 'YZ', 'ZI', 'YX', 'YY', 'XZ', 'IX', 'IY', 'II'] Lexicographically sorted @@ -754,7 +754,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -851,7 +851,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.StabilizerTable.mdx index 435efda91b2..7ec30e4da48 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.StabilizerTable.mdx @@ -327,7 +327,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -419,7 +419,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -458,7 +458,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+ZI', '+YX', '-ZX'] ``` @@ -757,7 +757,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-ZY', '+YZ', '-XX', '+ZI', '-YY', '-XY', '+XX', '+YI', '-ZZ', '-XZ', '+YY', '+ZY', '+XY', '+ZX', '+XI', '+II', '-YX', '-IY', '+XZ', '-YZ', '+IZ', '-IZ', '+YX', '-II', '+IX', '-ZI', '-ZX', '-XI', '+ZZ', '-YI', '+IY', '-IX'] Lexicographically sorted @@ -816,7 +816,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -921,7 +921,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.Statevector.mdx index 7fa1bcd1d15..21a7ea9b8ce 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.Statevector.mdx @@ -421,7 +421,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -444,7 +444,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -671,7 +671,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -688,7 +688,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -705,7 +705,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.24/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.24/qiskit.quantum_info.hellinger_fidelity.mdx index b88bf3791bb..84f491876c9 100644 --- a/docs/api/qiskit/0.24/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.24/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 1.0 ``` diff --git a/docs/api/qiskit/0.24/transpiler.mdx b/docs/api/qiskit/0.24/transpiler.mdx index c9d62c67138..ff263635c75 100644 --- a/docs/api/qiskit/0.24/transpiler.mdx +++ b/docs/api/qiskit/0.24/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'u1', 'u2', 'u3', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.25/characterization.mdx b/docs/api/qiskit/0.25/characterization.mdx index 5a3da66461d..d667881b107 100644 --- a/docs/api/qiskit/0.25/characterization.mdx +++ b/docs/api/qiskit/0.25/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [19.42460884557332, 14.231965033312072] [4.687515128751859, 2.3999492473484945] {'0': [array([ 0.84013083, 19.42460885, 0.16157579]), array([ 0.9808114 , 14.23196503, 0.02272979])]} diff --git a/docs/api/qiskit/0.25/circuit.mdx b/docs/api/qiskit/0.25/circuit.mdx index af29e77cf71..035c60dc5c0 100644 --- a/docs/api/qiskit/0.25/circuit.mdx +++ b/docs/api/qiskit/0.25/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.25/pulse.mdx b/docs/api/qiskit/0.25/pulse.mdx index 64551c9106e..6fdc983c866 100644 --- a/docs/api/qiskit/0.25/pulse.mdx +++ b/docs/api/qiskit/0.25/pulse.mdx @@ -162,7 +162,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -270,7 +270,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -331,7 +331,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubit in backend: There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.nlopts.mdx index f472f75d596..93f051b41aa 100644 --- a/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.25/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.25/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index 5a9a27a3db4..dc3d18a4887 100644 --- a/docs/api/qiskit/0.25/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.25/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.25/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.25/qiskit.chemistry.drivers.gaussiand.mdx index 2a511d87d58..0a684d5ff87 100644 --- a/docs/api/qiskit/0.25/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.25/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.25/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.25/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.25/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.25/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.25/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.25/qiskit.circuit.QuantumCircuit.mdx index bd215e1ba56..0ce6e573dc7 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.QuantumCircuit.mdx @@ -401,7 +401,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -434,7 +434,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2605,7 +2605,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.AND.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.AND.mdx index 3a376ed7285..26427661735 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.AND.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.AND.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2520,7 +2520,7 @@ python_api_name: qiskit.circuit.library.AND print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.Diagonal.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.Diagonal.mdx index b8a4462126f..48c3f4ee6c2 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.Diagonal.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.Diagonal.mdx @@ -350,7 +350,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -383,7 +383,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2554,7 +2554,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.EfficientSU2.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.EfficientSU2.mdx index 80e812f68b5..af35eb29548 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.EfficientSU2.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.EfficientSU2.mdx @@ -2774,7 +2774,7 @@ python_api_name: qiskit.circuit.library.EfficientSU2 print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.ExcitationPreserving.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.ExcitationPreserving.mdx index ff0fd416054..5a67bd2a5f0 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.ExcitationPreserving.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.ExcitationPreserving.mdx @@ -2797,7 +2797,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.FourierChecking.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.FourierChecking.mdx index 95fe0103a5a..c35f85822a8 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.FourierChecking.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.FourierChecking.mdx @@ -334,7 +334,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -367,7 +367,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2538,7 +2538,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.FunctionalPauliRotations.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.FunctionalPauliRotations.mdx index 10614d69cef..5662541d7e9 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.FunctionalPauliRotations.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.FunctionalPauliRotations.mdx @@ -314,7 +314,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -347,7 +347,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2576,7 +2576,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GMS.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GMS.mdx index 54e77912884..b8446416517 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GMS.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GMS.mdx @@ -337,7 +337,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -370,7 +370,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2541,7 +2541,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GR.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GR.mdx index 3044295d73f..c10528b6a0a 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GR.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GR.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GRX.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GRX.mdx index 92a11ffa00e..6805e789500 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GRX.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GRX.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GRY.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GRY.mdx index b92e409680a..567dc21c63d 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GRY.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GRY.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GRZ.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GRZ.mdx index 143dd308a90..09ade6d9ffe 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GRZ.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GRZ.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GraphState.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GraphState.mdx index 6181e1dbe91..f86dac41810 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GraphState.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GraphState.mdx @@ -340,7 +340,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -373,7 +373,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2544,7 +2544,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.GroverOperator.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.GroverOperator.mdx index afbeef8ff9e..80e3ac5f722 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.GroverOperator.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.GroverOperator.mdx @@ -447,7 +447,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -480,7 +480,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2673,7 +2673,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.HiddenLinearFunction.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.HiddenLinearFunction.mdx index 99935218fd3..c59c59b6f41 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.HiddenLinearFunction.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.HiddenLinearFunction.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.IQP.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.IQP.mdx index 9302aa2f132..938ac70ea21 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.IQP.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.IQP.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.IQP print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.InnerProduct.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.InnerProduct.mdx index 947ba6a0988..e280b68bbe9 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.InnerProduct.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.InnerProduct.mdx @@ -314,7 +314,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -347,7 +347,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2518,7 +2518,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.IntegerComparator.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.IntegerComparator.mdx index 5a30c3d826f..8d45d6ab918 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.IntegerComparator.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.IntegerComparator.mdx @@ -325,7 +325,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2577,7 +2577,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.LinearAmplitudeFunction.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.LinearAmplitudeFunction.mdx index 97c77ccd6ea..6b058cf452b 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.LinearAmplitudeFunction.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.LinearAmplitudeFunction.mdx @@ -360,7 +360,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -393,7 +393,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2582,7 +2582,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.LinearPauliRotations.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.LinearPauliRotations.mdx index 0eab8c210d2..f171bc1a39e 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.LinearPauliRotations.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.LinearPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2635,7 +2635,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.LogNormalDistribution.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.LogNormalDistribution.mdx index 7b92a5e684e..0f5679d92b6 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.LogNormalDistribution.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.LogNormalDistribution.mdx @@ -359,7 +359,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -392,7 +392,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2583,7 +2583,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.MCMT.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.MCMT.mdx index c9c7063a1b3..aed34b60c0f 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.MCMT.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.MCMT.mdx @@ -340,7 +340,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -373,7 +373,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2492,7 +2492,7 @@ python_api_name: qiskit.circuit.library.MCMT print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.MCMTVChain.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.MCMTVChain.mdx index c3511a46d45..3c1fec2835d 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.MCMTVChain.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.MCMTVChain.mdx @@ -362,7 +362,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -395,7 +395,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2514,7 +2514,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.NLocal.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.NLocal.mdx index 38a7923b5d7..d69b7227713 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.NLocal.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.NLocal.mdx @@ -2796,7 +2796,7 @@ python_api_name: qiskit.circuit.library.NLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.NormalDistribution.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.NormalDistribution.mdx index ff4aaade1aa..92bdaf7d3e8 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.NormalDistribution.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.NormalDistribution.mdx @@ -407,7 +407,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -440,7 +440,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.OR.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.OR.mdx index 200e3a6d198..24729bafb4a 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.OR.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.OR.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2520,7 +2520,7 @@ python_api_name: qiskit.circuit.library.OR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PauliFeatureMap.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PauliFeatureMap.mdx index 6612361fbf0..175726a0113 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PauliFeatureMap.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PauliFeatureMap.mdx @@ -2862,7 +2862,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PauliTwoDesign.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PauliTwoDesign.mdx index aa6f5a97de0..d4e85230815 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PauliTwoDesign.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PauliTwoDesign.mdx @@ -2750,7 +2750,7 @@ python_api_name: qiskit.circuit.library.PauliTwoDesign print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.Permutation.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.Permutation.mdx index afc9d61a617..36a7589038d 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.Permutation.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.Permutation.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.Permutation print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseEstimation.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseEstimation.mdx index 27f67a1bd35..0316b5d2f88 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseEstimation.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseEstimation.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseOracle.mdx index 1b728a1d464..bb9e222c5f5 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PhaseOracle.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -909,7 +909,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 @@ -2570,7 +2570,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseChebyshev.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseChebyshev.mdx index 570edc9bc75..0b633388aa3 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseChebyshev.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseChebyshev.mdx @@ -343,7 +343,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -376,7 +376,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx index ec919e0da88..cf8c46b1aaf 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx @@ -338,7 +338,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -371,7 +371,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2688,7 +2688,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx index f2f88254213..03f49b3100a 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx @@ -381,7 +381,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -414,7 +414,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2719,7 +2719,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.PolynomialPauliRotations.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.PolynomialPauliRotations.mdx index 53cdc504f5f..a74c4064d4e 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.PolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.PolynomialPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2639,7 +2639,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.QAOAAnsatz.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.QAOAAnsatz.mdx index c4badb9decc..d95793d2745 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.QAOAAnsatz.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.QAOAAnsatz.mdx @@ -322,7 +322,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -355,7 +355,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2606,7 +2606,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.QFT.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.QFT.mdx index 62aa92e9712..2d8386f68b4 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.QFT.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.QFT.mdx @@ -351,7 +351,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -384,7 +384,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2591,7 +2591,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.QuadraticForm.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.QuadraticForm.mdx index 1b48a247cba..28ad491412f 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.QuadraticForm.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.QuadraticForm.mdx @@ -347,7 +347,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -380,7 +380,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2571,7 +2571,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.QuantumVolume.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.QuantumVolume.mdx index 0a5e2565f6c..348be03532f 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.QuantumVolume.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.QuantumVolume.mdx @@ -326,7 +326,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -359,7 +359,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2530,7 +2530,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.RealAmplitudes.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.RealAmplitudes.mdx index b21638f2e85..262522d6727 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.RealAmplitudes.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.RealAmplitudes.mdx @@ -2801,7 +2801,7 @@ python_api_name: qiskit.circuit.library.RealAmplitudes print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.TwoLocal.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.TwoLocal.mdx index 787c03d7c4d..59cc9ee7819 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.TwoLocal.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.TwoLocal.mdx @@ -2823,7 +2823,7 @@ python_api_name: qiskit.circuit.library.TwoLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.UniformDistribution.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.UniformDistribution.mdx index 2242631ce00..da27399a7c8 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.UniformDistribution.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.UniformDistribution.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.WeightedAdder.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.WeightedAdder.mdx index 55c68cd842a..3a95d24afaa 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.WeightedAdder.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.WeightedAdder.mdx @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -391,7 +391,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2646,7 +2646,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.XOR.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.XOR.mdx index 94d1ca68e41..6572f940342 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.XOR.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.XOR.mdx @@ -326,7 +326,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -359,7 +359,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2530,7 +2530,7 @@ python_api_name: qiskit.circuit.library.XOR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.ZFeatureMap.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.ZFeatureMap.mdx index 9a9147543aa..044f23a55c9 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.ZFeatureMap.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.ZFeatureMap.mdx @@ -2830,7 +2830,7 @@ python_api_name: qiskit.circuit.library.ZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.circuit.library.ZZFeatureMap.mdx b/docs/api/qiskit/0.25/qiskit.circuit.library.ZZFeatureMap.mdx index ff2fe3d1c6e..6023035abd7 100644 --- a/docs/api/qiskit/0.25/qiskit.circuit.library.ZZFeatureMap.mdx +++ b/docs/api/qiskit/0.25/qiskit.circuit.library.ZZFeatureMap.mdx @@ -2826,7 +2826,7 @@ python_api_name: qiskit.circuit.library.ZZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.25/qiskit.converters.circuit_to_instruction.mdx index dda5adea34d..16172337b24 100644 --- a/docs/api/qiskit/0.25/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.25/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.25/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 912354aac5a..0c0333c47ff 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.01 ± 0.01 ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.25/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.25/qiskit.ignis.verification.gates_per_clifford.mdx index e5e08ec1fc0..16c00a445bf 100644 --- a/docs/api/qiskit/0.25/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.25/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.481142857142857, 'id': 0.0, 'u1': 0.11542857142857142, diff --git a/docs/api/qiskit/0.25/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.25/qiskit.ml.circuit.library.RawFeatureVector.mdx index 2aa022b63d4..55d8643b12d 100644 --- a/docs/api/qiskit/0.25/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.25/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2488,7 +2488,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 41f957316af..d2b8180ed8d 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.active_transpiler_settings.mdx index 787f61efcfe..2fd445446bd 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.circuit_scheduler_settings.mdx index ca00fff8b36..0e680185136 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.num_qubits.mdx index ba64f283d3a..fabd5c85d54 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.qubit_channels.mdx index 93552f97508..7752375b25d 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {MeasureChannel(0), AcquireChannel(0), DriveChannel(0), ControlChannel(1), ControlChannel(0)} ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.25/qiskit.pulse.builder.transpiler_settings.mdx index 1e472fa033b..2f40c9231a6 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.25/qiskit.pulse.library.discrete.mdx b/docs/api/qiskit/0.25/qiskit.pulse.library.discrete.mdx index 5f968a0b3a9..dbac2986815 100644 --- a/docs/api/qiskit/0.25/qiskit.pulse.library.discrete.mdx +++ b/docs/api/qiskit/0.25/qiskit.pulse.library.discrete.mdx @@ -247,7 +247,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -402,7 +402,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.CNOTDihedral.mdx index 4d5dec61dc4..0b6b341029f 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.Clifford.mdx index d172a720cae..f4dc90e66cc 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.DensityMatrix.mdx index 2a90ebbfdc8..d9018abc103 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.DensityMatrix.mdx @@ -384,7 +384,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -407,7 +407,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -613,7 +613,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -630,7 +630,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.PauliTable.mdx index c0c7b16f255..6fb1e747cfe 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.PauliTable.mdx @@ -267,7 +267,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -350,7 +350,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -389,7 +389,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -612,7 +612,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['IY', 'XY', 'YX', 'YY', 'ZZ', 'ZI', 'II', 'ZX', 'XZ', 'IX', 'XX', 'XI', 'YZ', 'ZY', 'YI', 'IZ'] Lexicographically sorted @@ -651,7 +651,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -748,7 +748,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.StabilizerTable.mdx index b1536153721..fd79e75a99a 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.StabilizerTable.mdx @@ -294,7 +294,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -386,7 +386,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -425,7 +425,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -674,7 +674,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+IX', '-XZ', '+ZI', '-IY', '+XI', '-YX', '-II', '+XZ', '+YY', '+YI', '+II', '-IZ', '+IY', '+ZX', '-YY', '+XX', '+YZ', '-XX', '-XY', '+IZ', '+ZY', '-YZ', '-YI', '+YX', '+ZZ', '-ZI', '-ZY', '-XI', '+XY', '-ZX', '-ZZ', '-IX'] Lexicographically sorted @@ -713,7 +713,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -818,7 +818,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.Statevector.mdx index 5b1f3597ee1..c24f1ab450b 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.Statevector.mdx @@ -408,7 +408,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -431,7 +431,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -618,7 +618,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -635,7 +635,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -652,7 +652,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.25/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.25/qiskit.quantum_info.hellinger_fidelity.mdx index 557f28fc1e1..c129b3717df 100644 --- a/docs/api/qiskit/0.25/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.25/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999226903701539 ``` diff --git a/docs/api/qiskit/0.25/transpiler.mdx b/docs/api/qiskit/0.25/transpiler.mdx index 6a73dfb6545..750080d0b78 100644 --- a/docs/api/qiskit/0.25/transpiler.mdx +++ b/docs/api/qiskit/0.25/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.26/characterization.mdx b/docs/api/qiskit/0.26/characterization.mdx index 252e274ab85..b5626479712 100644 --- a/docs/api/qiskit/0.26/characterization.mdx +++ b/docs/api/qiskit/0.26/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [19.602112397805413, 14.106259862419002] [4.196001985386302, 1.5959363434941007] {'0': [array([ 0.88444177, 19.6021124 , 0.12487851]), array([ 0.99144589, 14.10625986, 0.01804121])]} diff --git a/docs/api/qiskit/0.26/circuit.mdx b/docs/api/qiskit/0.26/circuit.mdx index 00165d80176..fd068c87282 100644 --- a/docs/api/qiskit/0.26/circuit.mdx +++ b/docs/api/qiskit/0.26/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.26/pulse.mdx b/docs/api/qiskit/0.26/pulse.mdx index 477345303e9..e4a995739b2 100644 --- a/docs/api/qiskit/0.26/pulse.mdx +++ b/docs/api/qiskit/0.26/pulse.mdx @@ -162,7 +162,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -270,7 +270,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -331,7 +331,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubit in backend: There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.nlopts.mdx index f472f75d596..93f051b41aa 100644 --- a/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.26/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.26/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index 5a9a27a3db4..dc3d18a4887 100644 --- a/docs/api/qiskit/0.26/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.26/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.26/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.26/qiskit.chemistry.drivers.gaussiand.mdx index 2a511d87d58..0a684d5ff87 100644 --- a/docs/api/qiskit/0.26/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.26/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.26/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.26/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.26/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.26/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.26/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.26/qiskit.circuit.QuantumCircuit.mdx index 2674bd6ed25..e96e8c825e4 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.QuantumCircuit.mdx @@ -401,7 +401,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -434,7 +434,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2605,7 +2605,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.AND.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.AND.mdx index d6b0afd3314..b108703fc33 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.AND.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.AND.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2520,7 +2520,7 @@ python_api_name: qiskit.circuit.library.AND print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.Diagonal.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.Diagonal.mdx index 1373f27951d..4d7076df141 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.Diagonal.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.Diagonal.mdx @@ -350,7 +350,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -383,7 +383,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2554,7 +2554,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.EfficientSU2.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.EfficientSU2.mdx index f36b2fab301..d04ac7b765c 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.EfficientSU2.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.EfficientSU2.mdx @@ -2774,7 +2774,7 @@ python_api_name: qiskit.circuit.library.EfficientSU2 print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.ExcitationPreserving.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.ExcitationPreserving.mdx index fc7e6f18a02..a8c916a70ed 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.ExcitationPreserving.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.ExcitationPreserving.mdx @@ -2797,7 +2797,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.FourierChecking.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.FourierChecking.mdx index fdf494cddec..a6757a4267d 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.FourierChecking.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.FourierChecking.mdx @@ -334,7 +334,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -367,7 +367,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2538,7 +2538,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.FunctionalPauliRotations.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.FunctionalPauliRotations.mdx index ff2933ec1bc..f67bb7dc27c 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.FunctionalPauliRotations.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.FunctionalPauliRotations.mdx @@ -314,7 +314,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -347,7 +347,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2576,7 +2576,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GMS.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GMS.mdx index 6503953daee..9d836e36c35 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GMS.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GMS.mdx @@ -337,7 +337,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -370,7 +370,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2541,7 +2541,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GR.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GR.mdx index b0408e90cc2..927dfe0a8a4 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GR.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GR.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GRX.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GRX.mdx index bbe00b45ffb..d8536216537 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GRX.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GRX.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GRY.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GRY.mdx index fd8dd5fb560..89056cb80ab 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GRY.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GRY.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GRZ.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GRZ.mdx index 5f80614789f..74aee4e135c 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GRZ.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GRZ.mdx @@ -330,7 +330,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GraphState.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GraphState.mdx index 12a239d4092..d4c4daa90e2 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GraphState.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GraphState.mdx @@ -340,7 +340,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -373,7 +373,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2544,7 +2544,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.GroverOperator.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.GroverOperator.mdx index c88a80c257d..0a2a7942935 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.GroverOperator.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.GroverOperator.mdx @@ -447,7 +447,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -480,7 +480,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2673,7 +2673,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.HiddenLinearFunction.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.HiddenLinearFunction.mdx index d852e7ebcdf..c9d03f0de46 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.HiddenLinearFunction.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.HiddenLinearFunction.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.IQP.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.IQP.mdx index b63b1cd4139..2802a163475 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.IQP.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.IQP.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.IQP print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.InnerProduct.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.InnerProduct.mdx index 65afcd2fc72..9fe6716b32a 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.InnerProduct.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.InnerProduct.mdx @@ -314,7 +314,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -347,7 +347,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2518,7 +2518,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.IntegerComparator.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.IntegerComparator.mdx index 738bc421343..26724fef4f3 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.IntegerComparator.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.IntegerComparator.mdx @@ -325,7 +325,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2577,7 +2577,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.LinearAmplitudeFunction.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.LinearAmplitudeFunction.mdx index 5bdf8c3c3d1..c3e36830b69 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.LinearAmplitudeFunction.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.LinearAmplitudeFunction.mdx @@ -360,7 +360,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -393,7 +393,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2582,7 +2582,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.LinearPauliRotations.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.LinearPauliRotations.mdx index a5a81831f85..644f4f29fbb 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.LinearPauliRotations.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.LinearPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2635,7 +2635,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.LogNormalDistribution.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.LogNormalDistribution.mdx index 57860540293..b33e9f676f5 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.LogNormalDistribution.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.LogNormalDistribution.mdx @@ -359,7 +359,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -392,7 +392,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2583,7 +2583,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.MCMT.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.MCMT.mdx index 712becbac45..203cfca14fc 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.MCMT.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.MCMT.mdx @@ -340,7 +340,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -373,7 +373,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2492,7 +2492,7 @@ python_api_name: qiskit.circuit.library.MCMT print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.MCMTVChain.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.MCMTVChain.mdx index 089cdbc8410..7322c3f068c 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.MCMTVChain.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.MCMTVChain.mdx @@ -362,7 +362,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -395,7 +395,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2514,7 +2514,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.NLocal.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.NLocal.mdx index c074e5ba0ba..dc22e071e0d 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.NLocal.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.NLocal.mdx @@ -2796,7 +2796,7 @@ python_api_name: qiskit.circuit.library.NLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.NormalDistribution.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.NormalDistribution.mdx index d0f92afa8d8..b6f10522217 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.NormalDistribution.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.NormalDistribution.mdx @@ -407,7 +407,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -440,7 +440,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.OR.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.OR.mdx index 1f231d33c59..bfbba760e38 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.OR.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.OR.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2520,7 +2520,7 @@ python_api_name: qiskit.circuit.library.OR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PauliFeatureMap.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PauliFeatureMap.mdx index a7abda2aa48..f6efe0e56a5 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PauliFeatureMap.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PauliFeatureMap.mdx @@ -2862,7 +2862,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PauliTwoDesign.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PauliTwoDesign.mdx index 83c8ad45cea..24910f6ddf8 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PauliTwoDesign.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PauliTwoDesign.mdx @@ -2750,7 +2750,7 @@ python_api_name: qiskit.circuit.library.PauliTwoDesign print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.Permutation.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.Permutation.mdx index 863b45bf3b0..5a725c60b48 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.Permutation.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.Permutation.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.Permutation print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseEstimation.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseEstimation.mdx index 08eaaede9e8..48e0a4f05b4 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseEstimation.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseEstimation.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseOracle.mdx index 93e3e6f49f5..eda93a74808 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PhaseOracle.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -909,7 +909,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 @@ -2570,7 +2570,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseChebyshev.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseChebyshev.mdx index a97b5b1de46..c865a74de27 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseChebyshev.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseChebyshev.mdx @@ -343,7 +343,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -376,7 +376,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx index 0b8211a19f0..21ea8820033 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx @@ -338,7 +338,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -371,7 +371,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2688,7 +2688,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx index 4cb36a481ea..e650c4f0811 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx @@ -381,7 +381,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -414,7 +414,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2719,7 +2719,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.PolynomialPauliRotations.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.PolynomialPauliRotations.mdx index f3b2b1cdb4f..777db8a17a9 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.PolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.PolynomialPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2639,7 +2639,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.QAOAAnsatz.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.QAOAAnsatz.mdx index 6caa40fa2df..41775a2ba00 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.QAOAAnsatz.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.QAOAAnsatz.mdx @@ -322,7 +322,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -355,7 +355,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2606,7 +2606,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.QFT.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.QFT.mdx index e8585658fe0..9ca43c6cee1 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.QFT.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.QFT.mdx @@ -351,7 +351,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -384,7 +384,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2591,7 +2591,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.QuadraticForm.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.QuadraticForm.mdx index 572f4116fc1..63573265d71 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.QuadraticForm.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.QuadraticForm.mdx @@ -347,7 +347,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -380,7 +380,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2571,7 +2571,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.QuantumVolume.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.QuantumVolume.mdx index 86060850359..a7d34f09193 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.QuantumVolume.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.QuantumVolume.mdx @@ -326,7 +326,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -359,7 +359,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2530,7 +2530,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.RealAmplitudes.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.RealAmplitudes.mdx index 76f555d7434..a45f171ba1c 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.RealAmplitudes.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.RealAmplitudes.mdx @@ -2801,7 +2801,7 @@ python_api_name: qiskit.circuit.library.RealAmplitudes print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.TwoLocal.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.TwoLocal.mdx index 3b743618b45..238e0482aac 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.TwoLocal.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.TwoLocal.mdx @@ -2823,7 +2823,7 @@ python_api_name: qiskit.circuit.library.TwoLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.UniformDistribution.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.UniformDistribution.mdx index 95e6cb46a76..9f184a6be2e 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.UniformDistribution.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.UniformDistribution.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.WeightedAdder.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.WeightedAdder.mdx index 350dd169056..4b0c8887cec 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.WeightedAdder.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.WeightedAdder.mdx @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -391,7 +391,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2646,7 +2646,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.XOR.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.XOR.mdx index f97bf2a5e76..ebe0d55a660 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.XOR.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.XOR.mdx @@ -326,7 +326,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -359,7 +359,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2530,7 +2530,7 @@ python_api_name: qiskit.circuit.library.XOR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.ZFeatureMap.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.ZFeatureMap.mdx index 41df370ed3f..6c73c624da6 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.ZFeatureMap.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.ZFeatureMap.mdx @@ -2830,7 +2830,7 @@ python_api_name: qiskit.circuit.library.ZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.circuit.library.ZZFeatureMap.mdx b/docs/api/qiskit/0.26/qiskit.circuit.library.ZZFeatureMap.mdx index d2393f5f73b..648d1bf0207 100644 --- a/docs/api/qiskit/0.26/qiskit.circuit.library.ZZFeatureMap.mdx +++ b/docs/api/qiskit/0.26/qiskit.circuit.library.ZZFeatureMap.mdx @@ -2826,7 +2826,7 @@ python_api_name: qiskit.circuit.library.ZZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.26/qiskit.converters.circuit_to_instruction.mdx index adb6250d233..27c955319ae 100644 --- a/docs/api/qiskit/0.26/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.26/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.26/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index a38497d2542..e5b25b8fa6f 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.02 ± 0.01 ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.26/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.26/qiskit.ignis.verification.gates_per_clifford.mdx index bff1448c037..392c748f2fb 100644 --- a/docs/api/qiskit/0.26/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.26/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.5154285714285713, 'id': 0.0, 'u1': 0.13028571428571428, diff --git a/docs/api/qiskit/0.26/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.26/qiskit.ml.circuit.library.RawFeatureVector.mdx index cea0aa0ded5..31b11f39778 100644 --- a/docs/api/qiskit/0.26/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.26/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2488,7 +2488,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 41f957316af..d2b8180ed8d 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.active_transpiler_settings.mdx index 787f61efcfe..2fd445446bd 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.circuit_scheduler_settings.mdx index ca00fff8b36..0e680185136 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.num_qubits.mdx index ba64f283d3a..fabd5c85d54 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.qubit_channels.mdx index 734352a20e0..dfcf93b7497 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {MeasureChannel(0), AcquireChannel(0), ControlChannel(1), ControlChannel(0), DriveChannel(0)} ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.26/qiskit.pulse.builder.transpiler_settings.mdx index 1e472fa033b..2f40c9231a6 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.26/qiskit.pulse.library.discrete.mdx b/docs/api/qiskit/0.26/qiskit.pulse.library.discrete.mdx index 3afe88804c0..3c1174fbc87 100644 --- a/docs/api/qiskit/0.26/qiskit.pulse.library.discrete.mdx +++ b/docs/api/qiskit/0.26/qiskit.pulse.library.discrete.mdx @@ -247,7 +247,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -402,7 +402,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.CNOTDihedral.mdx index 4d5dec61dc4..0b6b341029f 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.Clifford.mdx index d172a720cae..f4dc90e66cc 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.DensityMatrix.mdx index 2a90ebbfdc8..d9018abc103 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.DensityMatrix.mdx @@ -384,7 +384,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -407,7 +407,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -613,7 +613,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -630,7 +630,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.PauliTable.mdx index 535d47031db..7ddf1fe9600 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.PauliTable.mdx @@ -267,7 +267,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -350,7 +350,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -389,7 +389,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -612,7 +612,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['IX', 'IZ', 'XY', 'XZ', 'ZY', 'ZZ', 'YZ', 'XI', 'YY', 'ZX', 'YX', 'IY', 'XX', 'II', 'YI', 'ZI'] Lexicographically sorted @@ -651,7 +651,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -748,7 +748,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.StabilizerTable.mdx index 05bd65e3430..6175afab940 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.StabilizerTable.mdx @@ -294,7 +294,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -386,7 +386,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -425,7 +425,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -674,7 +674,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+II', '-IY', '-YX', '-II', '-XY', '+ZX', '+YY', '+XX', '+IZ', '-ZZ', '+ZY', '-YI', '+XZ', '+YZ', '-IX', '-YZ', '+YX', '+XI', '+YI', '-ZY', '-XZ', '+IX', '+IY', '-ZI', '+ZZ', '+XY', '-YY', '-XX', '-ZX', '-IZ', '-XI', '+ZI'] Lexicographically sorted @@ -713,7 +713,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -818,7 +818,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.Statevector.mdx index 5b1f3597ee1..c24f1ab450b 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.Statevector.mdx @@ -408,7 +408,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -431,7 +431,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -618,7 +618,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -635,7 +635,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -652,7 +652,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.26/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.26/qiskit.quantum_info.hellinger_fidelity.mdx index 3830da58b15..1a060fb1835 100644 --- a/docs/api/qiskit/0.26/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.26/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9988290646442083 ``` diff --git a/docs/api/qiskit/0.26/transpiler.mdx b/docs/api/qiskit/0.26/transpiler.mdx index 25f41585c1c..8cf3f293ff6 100644 --- a/docs/api/qiskit/0.26/transpiler.mdx +++ b/docs/api/qiskit/0.26/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.27/characterization.mdx b/docs/api/qiskit/0.27/characterization.mdx index e7bde43351a..d0d0666726a 100644 --- a/docs/api/qiskit/0.27/characterization.mdx +++ b/docs/api/qiskit/0.27/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [39.99999999999999, 14.524865484599495] [22.003599155426738, 0.8842085871625396] {'0': [array([ 1.37735991, 40. , -0.38568642]), array([ 1.03250401e+00, 1.45248655e+01, -1.38438724e-02])]} diff --git a/docs/api/qiskit/0.27/circuit.mdx b/docs/api/qiskit/0.27/circuit.mdx index 6dc0321c11c..7072283c30d 100644 --- a/docs/api/qiskit/0.27/circuit.mdx +++ b/docs/api/qiskit/0.27/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.27/pulse.mdx b/docs/api/qiskit/0.27/pulse.mdx index 0faab246552..b0b554814bf 100644 --- a/docs/api/qiskit/0.27/pulse.mdx +++ b/docs/api/qiskit/0.27/pulse.mdx @@ -162,7 +162,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -270,7 +270,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -331,7 +331,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubit in backend: There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.nlopts.mdx index f472f75d596..93f051b41aa 100644 --- a/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.27/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.27/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index 5a9a27a3db4..dc3d18a4887 100644 --- a/docs/api/qiskit/0.27/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.27/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.27/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.27/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.27/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.27/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.27/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.27/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.27/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.27/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.27/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.27/qiskit.circuit.QuantumCircuit.mdx index 3ad149f5007..be88049d2a0 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.QuantumCircuit.mdx @@ -401,7 +401,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -434,7 +434,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2605,7 +2605,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.AND.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.AND.mdx index fde257022f6..0d4f0b8b63d 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.AND.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.AND.mdx @@ -320,7 +320,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -353,7 +353,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2524,7 +2524,7 @@ python_api_name: qiskit.circuit.library.AND print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.Diagonal.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.Diagonal.mdx index 94e487bc7e1..c5934108c8a 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.Diagonal.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.Diagonal.mdx @@ -350,7 +350,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -383,7 +383,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2554,7 +2554,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.EfficientSU2.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.EfficientSU2.mdx index 9df0ba42437..ab88f5476d6 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.EfficientSU2.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.EfficientSU2.mdx @@ -2774,7 +2774,7 @@ python_api_name: qiskit.circuit.library.EfficientSU2 print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.ExcitationPreserving.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.ExcitationPreserving.mdx index d4537b5aae9..a3d96722b09 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.ExcitationPreserving.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.ExcitationPreserving.mdx @@ -2797,7 +2797,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.FourierChecking.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.FourierChecking.mdx index be502083c0f..102947254a9 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.FourierChecking.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.FourierChecking.mdx @@ -338,7 +338,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -371,7 +371,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2542,7 +2542,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.FunctionalPauliRotations.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.FunctionalPauliRotations.mdx index a0ea5701706..e37c0ae412c 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.FunctionalPauliRotations.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.FunctionalPauliRotations.mdx @@ -314,7 +314,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -347,7 +347,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2576,7 +2576,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GMS.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GMS.mdx index dde2aba20e2..3625e14a241 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GMS.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GMS.mdx @@ -339,7 +339,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -372,7 +372,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2543,7 +2543,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GR.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GR.mdx index 96007af41b3..2f21f226987 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GR.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GR.mdx @@ -334,7 +334,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -367,7 +367,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2538,7 +2538,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GRX.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GRX.mdx index d0f5019ae28..c66338ba76e 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GRX.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GRX.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GRY.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GRY.mdx index 2cad389e679..09ed13d19ed 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GRY.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GRY.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GRZ.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GRZ.mdx index 93c8533cf95..bf83607ca1b 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GRZ.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GRZ.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GraphState.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GraphState.mdx index 68136eeddca..1963815d3d9 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GraphState.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GraphState.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.GroverOperator.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.GroverOperator.mdx index aabfa5c794c..0b503489f95 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.GroverOperator.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.GroverOperator.mdx @@ -447,7 +447,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -480,7 +480,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2673,7 +2673,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.HiddenLinearFunction.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.HiddenLinearFunction.mdx index 149d6bfc855..9dcf62b60bd 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.HiddenLinearFunction.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.HiddenLinearFunction.mdx @@ -342,7 +342,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2546,7 +2546,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.IQP.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.IQP.mdx index ceb86b8a287..c0e08e6e970 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.IQP.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.IQP.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.IQP print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.InnerProduct.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.InnerProduct.mdx index 41b4e82583f..0af6ca08fa2 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.InnerProduct.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.InnerProduct.mdx @@ -318,7 +318,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -351,7 +351,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2522,7 +2522,7 @@ python_api_name: qiskit.circuit.library.InnerProduct print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.IntegerComparator.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.IntegerComparator.mdx index 4b81c7818ea..57a5f5208e0 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.IntegerComparator.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.IntegerComparator.mdx @@ -325,7 +325,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2577,7 +2577,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.LinearAmplitudeFunction.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.LinearAmplitudeFunction.mdx index 8137b7811d3..2452ddd41b4 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.LinearAmplitudeFunction.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.LinearAmplitudeFunction.mdx @@ -360,7 +360,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -393,7 +393,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2582,7 +2582,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.LinearPauliRotations.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.LinearPauliRotations.mdx index f76d4b0179f..b5eb5de0973 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.LinearPauliRotations.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.LinearPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2635,7 +2635,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.LogNormalDistribution.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.LogNormalDistribution.mdx index 0ca1466402f..88e32239862 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.LogNormalDistribution.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.LogNormalDistribution.mdx @@ -359,7 +359,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -392,7 +392,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2583,7 +2583,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.MCMT.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.MCMT.mdx index 8c64df3f84d..468a1289f33 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.MCMT.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.MCMT.mdx @@ -340,7 +340,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -373,7 +373,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2492,7 +2492,7 @@ python_api_name: qiskit.circuit.library.MCMT print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.MCMTVChain.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.MCMTVChain.mdx index a988ca175c7..23bf114678d 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.MCMTVChain.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.MCMTVChain.mdx @@ -364,7 +364,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -397,7 +397,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2516,7 +2516,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.NLocal.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.NLocal.mdx index b10bd562e76..d2d9f96322e 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.NLocal.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.NLocal.mdx @@ -2796,7 +2796,7 @@ python_api_name: qiskit.circuit.library.NLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.NormalDistribution.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.NormalDistribution.mdx index 96a501135db..e1d0c7c6427 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.NormalDistribution.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.NormalDistribution.mdx @@ -407,7 +407,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -440,7 +440,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.OR.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.OR.mdx index 4713af56f0c..a6dddfadb90 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.OR.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.OR.mdx @@ -320,7 +320,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -353,7 +353,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2524,7 +2524,7 @@ python_api_name: qiskit.circuit.library.OR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PauliFeatureMap.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PauliFeatureMap.mdx index 85f620390ed..e46c04986fc 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PauliFeatureMap.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PauliFeatureMap.mdx @@ -2862,7 +2862,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PauliTwoDesign.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PauliTwoDesign.mdx index f48c644421b..5ac6d05a826 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PauliTwoDesign.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PauliTwoDesign.mdx @@ -2750,7 +2750,7 @@ python_api_name: qiskit.circuit.library.PauliTwoDesign print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.Permutation.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.Permutation.mdx index 97c12fcad25..9d517981052 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.Permutation.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.Permutation.mdx @@ -334,7 +334,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -367,7 +367,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2538,7 +2538,7 @@ python_api_name: qiskit.circuit.library.Permutation print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseEstimation.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseEstimation.mdx index 3992ac9cf47..dd7ffae5d58 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseEstimation.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseEstimation.mdx @@ -346,7 +346,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -379,7 +379,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2550,7 +2550,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseOracle.mdx index 4bf3ec9af1e..31b47b3ee0b 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PhaseOracle.mdx @@ -316,7 +316,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -349,7 +349,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -909,7 +909,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 @@ -2570,7 +2570,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseChebyshev.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseChebyshev.mdx index df38f686049..34d91298811 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseChebyshev.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseChebyshev.mdx @@ -343,7 +343,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -376,7 +376,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2631,7 +2631,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx index 1b3a5b12016..46d79117ac6 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx @@ -338,7 +338,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -371,7 +371,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2688,7 +2688,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx index 3ed061405f0..8aafc8383c2 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx @@ -381,7 +381,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -414,7 +414,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2719,7 +2719,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.PolynomialPauliRotations.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.PolynomialPauliRotations.mdx index 330d2a4dd9c..8578136a0fd 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.PolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.PolynomialPauliRotations.mdx @@ -341,7 +341,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2639,7 +2639,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.QAOAAnsatz.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.QAOAAnsatz.mdx index 456c499cc08..70c5ac19854 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.QAOAAnsatz.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.QAOAAnsatz.mdx @@ -322,7 +322,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -355,7 +355,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2606,7 +2606,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.QFT.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.QFT.mdx index 4916d08ec10..c69df6e1128 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.QFT.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.QFT.mdx @@ -357,7 +357,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -390,7 +390,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2597,7 +2597,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.QuadraticForm.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.QuadraticForm.mdx index 122c3d75a5e..8463d890042 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.QuadraticForm.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.QuadraticForm.mdx @@ -347,7 +347,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -380,7 +380,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2571,7 +2571,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.QuantumVolume.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.QuantumVolume.mdx index cc359c606ef..e1f9e43ebbb 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.QuantumVolume.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.QuantumVolume.mdx @@ -328,7 +328,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -361,7 +361,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2532,7 +2532,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.RealAmplitudes.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.RealAmplitudes.mdx index 975f2c34860..664a95a1205 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.RealAmplitudes.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.RealAmplitudes.mdx @@ -2801,7 +2801,7 @@ python_api_name: qiskit.circuit.library.RealAmplitudes print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.TwoLocal.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.TwoLocal.mdx index 93ec19c1c5e..18754b894e1 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.TwoLocal.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.TwoLocal.mdx @@ -2823,7 +2823,7 @@ python_api_name: qiskit.circuit.library.TwoLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.UniformDistribution.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.UniformDistribution.mdx index 147916fbf8b..02958afa769 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.UniformDistribution.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.UniformDistribution.mdx @@ -332,7 +332,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -365,7 +365,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2536,7 +2536,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.WeightedAdder.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.WeightedAdder.mdx index 94ce43ebcb3..91abfa0b07a 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.WeightedAdder.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.WeightedAdder.mdx @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -391,7 +391,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2646,7 +2646,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.XOR.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.XOR.mdx index a82c75e1813..1e497f2e818 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.XOR.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.XOR.mdx @@ -330,7 +330,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ RY(A) ├────■──── @@ -363,7 +363,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ RY(1) ├────■──── @@ -2534,7 +2534,7 @@ python_api_name: qiskit.circuit.library.XOR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.ZFeatureMap.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.ZFeatureMap.mdx index 4c620c9d67f..a185035a2fa 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.ZFeatureMap.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.ZFeatureMap.mdx @@ -2830,7 +2830,7 @@ python_api_name: qiskit.circuit.library.ZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.circuit.library.ZZFeatureMap.mdx b/docs/api/qiskit/0.27/qiskit.circuit.library.ZZFeatureMap.mdx index e1730c022bb..ff667531e27 100644 --- a/docs/api/qiskit/0.27/qiskit.circuit.library.ZZFeatureMap.mdx +++ b/docs/api/qiskit/0.27/qiskit.circuit.library.ZZFeatureMap.mdx @@ -2826,7 +2826,7 @@ python_api_name: qiskit.circuit.library.ZZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.27/qiskit.converters.circuit_to_instruction.mdx index 104ebb99d4a..c1809c0fc06 100644 --- a/docs/api/qiskit/0.27/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.27/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.27/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 94903232a78..28a40def58e 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.01 ± 0.01 ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.27/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.27/qiskit.ignis.verification.gates_per_clifford.mdx index 621b1cd46f9..f26e51cab02 100644 --- a/docs/api/qiskit/0.27/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.27/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.536, 'id': 0.0, 'u1': 0.11657142857142858, diff --git a/docs/api/qiskit/0.27/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.27/qiskit.ml.circuit.library.RawFeatureVector.mdx index 32f4c5fa779..666028bc0f1 100644 --- a/docs/api/qiskit/0.27/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.27/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2488,7 +2488,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 41f957316af..d2b8180ed8d 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.active_transpiler_settings.mdx index 787f61efcfe..2fd445446bd 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.circuit_scheduler_settings.mdx index ca00fff8b36..0e680185136 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.num_qubits.mdx index ba64f283d3a..fabd5c85d54 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.qubit_channels.mdx index d77db5a4f02..5e5e82ca197 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {DriveChannel(0), MeasureChannel(0), ControlChannel(0), ControlChannel(1), AcquireChannel(0)} ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.27/qiskit.pulse.builder.transpiler_settings.mdx index 1e472fa033b..2f40c9231a6 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.27/qiskit.pulse.library.discrete.mdx b/docs/api/qiskit/0.27/qiskit.pulse.library.discrete.mdx index dab707f7c1e..bed6d9a056b 100644 --- a/docs/api/qiskit/0.27/qiskit.pulse.library.discrete.mdx +++ b/docs/api/qiskit/0.27/qiskit.pulse.library.discrete.mdx @@ -247,7 +247,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -402,7 +402,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.CNOTDihedral.mdx index 4d5dec61dc4..0b6b341029f 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.Clifford.mdx index d172a720cae..f4dc90e66cc 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.DensityMatrix.mdx index 2a90ebbfdc8..d9018abc103 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.DensityMatrix.mdx @@ -384,7 +384,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -407,7 +407,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -613,7 +613,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -630,7 +630,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.PauliTable.mdx index 5f0578784df..6c08194993d 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.PauliTable.mdx @@ -267,7 +267,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -350,7 +350,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -389,7 +389,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -612,7 +612,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['ZX', 'YX', 'IY', 'YY', 'XZ', 'IZ', 'XY', 'ZY', 'YZ', 'II', 'IX', 'ZI', 'ZZ', 'XI', 'XX', 'YI'] Lexicographically sorted @@ -651,7 +651,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -748,7 +748,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.StabilizerTable.mdx index cc613241de0..603fe166c3f 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.StabilizerTable.mdx @@ -294,7 +294,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -386,7 +386,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -425,7 +425,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -674,7 +674,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+II', '-YY', '-IX', '+ZX', '-XY', '+YI', '-XZ', '+YY', '-YX', '-XI', '-IZ', '+ZI', '-II', '+XI', '-ZX', '+IY', '+IZ', '+YX', '-XX', '-ZI', '+YZ', '-ZZ', '+XY', '+XX', '-ZY', '-YI', '-YZ', '+ZY', '-IY', '+ZZ', '+IX', '+XZ'] Lexicographically sorted @@ -713,7 +713,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -818,7 +818,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.Statevector.mdx index 5b1f3597ee1..c24f1ab450b 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.Statevector.mdx @@ -408,7 +408,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -431,7 +431,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -618,7 +618,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -635,7 +635,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -652,7 +652,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.27/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.27/qiskit.quantum_info.hellinger_fidelity.mdx index 56ceeebd258..f6bd6c3a97b 100644 --- a/docs/api/qiskit/0.27/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.27/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9997549608599465 ``` diff --git a/docs/api/qiskit/0.27/transpiler.mdx b/docs/api/qiskit/0.27/transpiler.mdx index ab3e175bfef..5f9cbab999d 100644 --- a/docs/api/qiskit/0.27/transpiler.mdx +++ b/docs/api/qiskit/0.27/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 16), ('u2', 1)]) diff --git a/docs/api/qiskit/0.28/characterization.mdx b/docs/api/qiskit/0.28/characterization.mdx index 7aedb51c220..604134a6c85 100644 --- a/docs/api/qiskit/0.28/characterization.mdx +++ b/docs/api/qiskit/0.28/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [23.50254480134303, 21.57953799655644] [3.286911867279597, 1.4920742075992972] {'0': [array([ 0.96932128, 23.5025448 , 0.03297733]), array([ 1.16776927, 21.579538 , -0.19395813])]} diff --git a/docs/api/qiskit/0.28/circuit.mdx b/docs/api/qiskit/0.28/circuit.mdx index 5c36c9608e8..d46993827d6 100644 --- a/docs/api/qiskit/0.28/circuit.mdx +++ b/docs/api/qiskit/0.28/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.28/pulse.mdx b/docs/api/qiskit/0.28/pulse.mdx index bf7206ab54d..9e79533715a 100644 --- a/docs/api/qiskit/0.28/pulse.mdx +++ b/docs/api/qiskit/0.28/pulse.mdx @@ -162,7 +162,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -270,7 +270,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -331,7 +331,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.nlopts.mdx index f472f75d596..93f051b41aa 100644 --- a/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.28/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.28/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index 5a9a27a3db4..dc3d18a4887 100644 --- a/docs/api/qiskit/0.28/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.28/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.28/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.28/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.28/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.28/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.28/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.28/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.28/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.28/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.28/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.28/qiskit.circuit.QuantumCircuit.mdx index afb0a6c33a1..940e661d0d9 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.QuantumCircuit.mdx @@ -402,11 +402,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -438,7 +438,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2631,7 +2631,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.AND.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.AND.mdx index 2e2dcb52381..80cac4e4a00 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.AND.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.AND.mdx @@ -321,7 +321,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -354,7 +354,7 @@ python_api_name: qiskit.circuit.library.AND print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2547,7 +2547,7 @@ python_api_name: qiskit.circuit.library.AND print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.CDKMRippleCarryAdder.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.CDKMRippleCarryAdder.mdx index 5ca71c0938f..7adc391ce49 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.CDKMRippleCarryAdder.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.CDKMRippleCarryAdder.mdx @@ -370,11 +370,11 @@ python_api_name: qiskit.circuit.library.CDKMRippleCarryAdder print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -406,7 +406,7 @@ python_api_name: qiskit.circuit.library.CDKMRippleCarryAdder print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2613,7 +2613,7 @@ python_api_name: qiskit.circuit.library.CDKMRippleCarryAdder print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.Diagonal.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.Diagonal.mdx index 5c31c01226a..46332b3c94a 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.Diagonal.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.Diagonal.mdx @@ -351,11 +351,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -387,7 +387,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2580,7 +2580,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.DraperQFTAdder.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.DraperQFTAdder.mdx index 71b9e4bb3b6..b586c4927e1 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.DraperQFTAdder.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.DraperQFTAdder.mdx @@ -341,11 +341,11 @@ python_api_name: qiskit.circuit.library.DraperQFTAdder print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -377,7 +377,7 @@ python_api_name: qiskit.circuit.library.DraperQFTAdder print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2584,7 +2584,7 @@ python_api_name: qiskit.circuit.library.DraperQFTAdder print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.EfficientSU2.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.EfficientSU2.mdx index 758fb718e44..10aa63f2f42 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.EfficientSU2.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.EfficientSU2.mdx @@ -2797,7 +2797,7 @@ python_api_name: qiskit.circuit.library.EfficientSU2 print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.EvolvedOperatorAnsatz.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.EvolvedOperatorAnsatz.mdx index d3ba92e467a..c9944b34787 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.EvolvedOperatorAnsatz.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.EvolvedOperatorAnsatz.mdx @@ -319,11 +319,11 @@ python_api_name: qiskit.circuit.library.EvolvedOperatorAnsatz print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -355,7 +355,7 @@ python_api_name: qiskit.circuit.library.EvolvedOperatorAnsatz print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2616,7 +2616,7 @@ python_api_name: qiskit.circuit.library.EvolvedOperatorAnsatz print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.ExcitationPreserving.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.ExcitationPreserving.mdx index 8b96784dc7e..e6bd5408575 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.ExcitationPreserving.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.ExcitationPreserving.mdx @@ -2820,7 +2820,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.FourierChecking.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.FourierChecking.mdx index efe7aef7e5d..bda698d19cb 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.FourierChecking.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.FourierChecking.mdx @@ -339,11 +339,11 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -375,7 +375,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2568,7 +2568,7 @@ python_api_name: qiskit.circuit.library.FourierChecking print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.FunctionalPauliRotations.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.FunctionalPauliRotations.mdx index 5c9920051ff..24f7437d8eb 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.FunctionalPauliRotations.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.FunctionalPauliRotations.mdx @@ -315,11 +315,11 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -351,7 +351,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2602,7 +2602,7 @@ python_api_name: qiskit.circuit.library.FunctionalPauliRotations print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GMS.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GMS.mdx index 08565b95e6b..58ca306f25b 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GMS.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GMS.mdx @@ -340,11 +340,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -376,7 +376,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2569,7 +2569,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GR.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GR.mdx index 84e7f760697..a6fed5df8c7 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GR.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GR.mdx @@ -335,11 +335,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -371,7 +371,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2564,7 +2564,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GRX.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GRX.mdx index f8a9c9517ae..f9bec6dc170 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GRX.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GRX.mdx @@ -333,11 +333,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -369,7 +369,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2562,7 +2562,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GRY.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GRY.mdx index cab4bf7a8d7..09640db9a27 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GRY.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GRY.mdx @@ -333,11 +333,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -369,7 +369,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2562,7 +2562,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GRZ.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GRZ.mdx index 31ae7fdf882..548836ed2e8 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GRZ.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GRZ.mdx @@ -333,11 +333,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -369,7 +369,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2562,7 +2562,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GraphState.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GraphState.mdx index 74114ac6b5c..ed9af9fbf94 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GraphState.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GraphState.mdx @@ -343,11 +343,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -379,7 +379,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2572,7 +2572,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.GroverOperator.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.GroverOperator.mdx index 2019f7b9188..fec0448845c 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.GroverOperator.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.GroverOperator.mdx @@ -448,11 +448,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -484,7 +484,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2699,7 +2699,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.HRSCumulativeMultiplier.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.HRSCumulativeMultiplier.mdx index b24b600fdd0..2d71686a133 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.HRSCumulativeMultiplier.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.HRSCumulativeMultiplier.mdx @@ -356,11 +356,11 @@ python_api_name: qiskit.circuit.library.HRSCumulativeMultiplier print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -392,7 +392,7 @@ python_api_name: qiskit.circuit.library.HRSCumulativeMultiplier print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2613,7 +2613,7 @@ python_api_name: qiskit.circuit.library.HRSCumulativeMultiplier print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.HiddenLinearFunction.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.HiddenLinearFunction.mdx index 9cdba130460..13b8ed75f22 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.HiddenLinearFunction.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.HiddenLinearFunction.mdx @@ -343,11 +343,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -379,7 +379,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2572,7 +2572,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.IQP.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.IQP.mdx index 8d86d99e346..ca4a8f48a4a 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.IQP.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.IQP.mdx @@ -331,11 +331,11 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -367,7 +367,7 @@ python_api_name: qiskit.circuit.library.IQP print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2560,7 +2560,7 @@ python_api_name: qiskit.circuit.library.IQP print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.InnerProduct.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.InnerProduct.mdx index 327f93202e6..05ec7317da2 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.InnerProduct.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.InnerProduct.mdx @@ -338,11 +338,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -374,7 +374,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2567,7 +2567,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.IntegerComparator.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.IntegerComparator.mdx index 627919ebaf9..5c26feaac69 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.IntegerComparator.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.IntegerComparator.mdx @@ -326,11 +326,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -362,7 +362,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2603,7 +2603,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.LinearAmplitudeFunction.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.LinearAmplitudeFunction.mdx index 837c9114734..d5c10c5e1ca 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.LinearAmplitudeFunction.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.LinearAmplitudeFunction.mdx @@ -359,11 +359,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -395,7 +395,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2606,7 +2606,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.LinearPauliRotations.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.LinearPauliRotations.mdx index 2c23fe48cab..716a27bd8ef 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.LinearPauliRotations.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.LinearPauliRotations.mdx @@ -342,11 +342,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -378,7 +378,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2661,7 +2661,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.LogNormalDistribution.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.LogNormalDistribution.mdx index 1b661e1e7fd..2d35c60052f 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.LogNormalDistribution.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.LogNormalDistribution.mdx @@ -360,11 +360,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -396,7 +396,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2609,7 +2609,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.MCMT.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.MCMT.mdx index 435e570e5bf..60e89428296 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.MCMT.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.MCMT.mdx @@ -341,11 +341,11 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -377,7 +377,7 @@ python_api_name: qiskit.circuit.library.MCMT print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2518,7 +2518,7 @@ python_api_name: qiskit.circuit.library.MCMT print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.MCMTVChain.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.MCMTVChain.mdx index 8489860ef45..dccf9b4e6d9 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.MCMTVChain.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.MCMTVChain.mdx @@ -365,11 +365,11 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -401,7 +401,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2542,7 +2542,7 @@ python_api_name: qiskit.circuit.library.MCMTVChain print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.NLocal.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.NLocal.mdx index 4413f9d98ba..ccc66c8843a 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.NLocal.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.NLocal.mdx @@ -2821,7 +2821,7 @@ python_api_name: qiskit.circuit.library.NLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.NormalDistribution.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.NormalDistribution.mdx index ef06e557c73..7f719df3ae7 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.NormalDistribution.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.NormalDistribution.mdx @@ -408,11 +408,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -444,7 +444,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2657,7 +2657,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.OR.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.OR.mdx index 496b848140b..ba733d1dfb2 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.OR.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.OR.mdx @@ -321,7 +321,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -354,7 +354,7 @@ python_api_name: qiskit.circuit.library.OR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2547,7 +2547,7 @@ python_api_name: qiskit.circuit.library.OR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PauliFeatureMap.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PauliFeatureMap.mdx index 0bba6841a5b..b3ba8e6d13c 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PauliFeatureMap.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PauliFeatureMap.mdx @@ -2885,7 +2885,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PauliTwoDesign.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PauliTwoDesign.mdx index 28ac2137aca..a73eff9a36d 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PauliTwoDesign.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PauliTwoDesign.mdx @@ -2773,7 +2773,7 @@ python_api_name: qiskit.circuit.library.PauliTwoDesign print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.Permutation.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.Permutation.mdx index cff3446aa23..9e8bb44fc04 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.Permutation.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.Permutation.mdx @@ -335,7 +335,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -368,7 +368,7 @@ python_api_name: qiskit.circuit.library.Permutation print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2561,7 +2561,7 @@ python_api_name: qiskit.circuit.library.Permutation print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseEstimation.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseEstimation.mdx index 129e8df3dd8..09334760fde 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseEstimation.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseEstimation.mdx @@ -347,11 +347,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -383,7 +383,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2576,7 +2576,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseOracle.mdx index 926f13b695b..fee356f0cfb 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PhaseOracle.mdx @@ -317,11 +317,11 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -353,7 +353,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -918,7 +918,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 @@ -2600,7 +2600,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseChebyshev.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseChebyshev.mdx index 18bbd8cad1c..c94635f046f 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseChebyshev.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseChebyshev.mdx @@ -344,11 +344,11 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -380,7 +380,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2657,7 +2657,7 @@ python_api_name: qiskit.circuit.library.PiecewiseChebyshev print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx index 9df9ef85c19..42165136c75 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewiseLinearPauliRotations.mdx @@ -339,11 +339,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -375,7 +375,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2714,7 +2714,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx index c5fb4eba97b..196713329c6 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PiecewisePolynomialPauliRotations.mdx @@ -380,11 +380,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -416,7 +416,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2743,7 +2743,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.PolynomialPauliRotations.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.PolynomialPauliRotations.mdx index 01862fce4ac..9949e7ab2d6 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.PolynomialPauliRotations.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.PolynomialPauliRotations.mdx @@ -342,11 +342,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -378,7 +378,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2665,7 +2665,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.QAOAAnsatz.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.QAOAAnsatz.mdx index ad8fe0dab84..750114d0204 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.QAOAAnsatz.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.QAOAAnsatz.mdx @@ -326,11 +326,11 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -362,7 +362,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2675,7 +2675,7 @@ python_api_name: qiskit.circuit.library.QAOAAnsatz print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.QFT.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.QFT.mdx index 1fdfa2d4341..eb64b84396f 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.QFT.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.QFT.mdx @@ -358,7 +358,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -391,7 +391,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2620,7 +2620,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.QuadraticForm.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.QuadraticForm.mdx index 94f52596059..2155ad65e4f 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.QuadraticForm.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.QuadraticForm.mdx @@ -348,11 +348,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -384,7 +384,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2597,7 +2597,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.QuantumVolume.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.QuantumVolume.mdx index c33f272134a..a324a120ab4 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.QuantumVolume.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.QuantumVolume.mdx @@ -329,7 +329,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -362,7 +362,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2555,7 +2555,7 @@ python_api_name: qiskit.circuit.library.QuantumVolume print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.RGQFTMultiplier.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.RGQFTMultiplier.mdx index 43d7822cd80..229c140940e 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.RGQFTMultiplier.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.RGQFTMultiplier.mdx @@ -330,11 +330,11 @@ python_api_name: qiskit.circuit.library.RGQFTMultiplier print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -366,7 +366,7 @@ python_api_name: qiskit.circuit.library.RGQFTMultiplier print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2587,7 +2587,7 @@ python_api_name: qiskit.circuit.library.RGQFTMultiplier print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.RealAmplitudes.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.RealAmplitudes.mdx index 832b2486274..9881adf6bfb 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.RealAmplitudes.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.RealAmplitudes.mdx @@ -2824,7 +2824,7 @@ python_api_name: qiskit.circuit.library.RealAmplitudes print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.TwoLocal.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.TwoLocal.mdx index f93b99a7e4a..1d4629fb025 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.TwoLocal.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.TwoLocal.mdx @@ -2846,7 +2846,7 @@ python_api_name: qiskit.circuit.library.TwoLocal print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.UniformDistribution.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.UniformDistribution.mdx index c8cd1ede5a9..1e96602fbb0 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.UniformDistribution.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.UniformDistribution.mdx @@ -333,11 +333,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -369,7 +369,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2562,7 +2562,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.VBERippleCarryAdder.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.VBERippleCarryAdder.mdx index dac98698630..8f63129539e 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.VBERippleCarryAdder.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.VBERippleCarryAdder.mdx @@ -342,11 +342,11 @@ python_api_name: qiskit.circuit.library.VBERippleCarryAdder print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -378,7 +378,7 @@ python_api_name: qiskit.circuit.library.VBERippleCarryAdder print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2585,7 +2585,7 @@ python_api_name: qiskit.circuit.library.VBERippleCarryAdder print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.WeightedAdder.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.WeightedAdder.mdx index de1554a14ce..fccafe607d7 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.WeightedAdder.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.WeightedAdder.mdx @@ -359,11 +359,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -395,7 +395,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2672,7 +2672,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.XOR.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.XOR.mdx index ab86fa9677b..ee892f0748c 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.XOR.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.XOR.mdx @@ -331,7 +331,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -364,7 +364,7 @@ python_api_name: qiskit.circuit.library.XOR print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2557,7 +2557,7 @@ python_api_name: qiskit.circuit.library.XOR print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.ZFeatureMap.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.ZFeatureMap.mdx index c16720a8292..966bacdb306 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.ZFeatureMap.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.ZFeatureMap.mdx @@ -2853,7 +2853,7 @@ python_api_name: qiskit.circuit.library.ZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.circuit.library.ZZFeatureMap.mdx b/docs/api/qiskit/0.28/qiskit.circuit.library.ZZFeatureMap.mdx index 3b611146be2..886838e1fda 100644 --- a/docs/api/qiskit/0.28/qiskit.circuit.library.ZZFeatureMap.mdx +++ b/docs/api/qiskit/0.28/qiskit.circuit.library.ZZFeatureMap.mdx @@ -2849,7 +2849,7 @@ python_api_name: qiskit.circuit.library.ZZFeatureMap print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.28/qiskit.converters.circuit_to_instruction.mdx index f6e8feb5360..6830144ddb0 100644 --- a/docs/api/qiskit/0.28/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.28/qiskit.converters.circuit_to_instruction.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.28/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 0e5ed515ea4..1ba98b909c5 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.60 ± 0.03 Expval (with mitigation): -0.90 ± 0.04 ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.28/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.28/qiskit.ignis.verification.gates_per_clifford.mdx index 51cc347e250..c41c8193a96 100644 --- a/docs/api/qiskit/0.28/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.28/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.5062857142857142, 'id': 0.0, 'u1': 0.13485714285714287, diff --git a/docs/api/qiskit/0.28/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.28/qiskit.ml.circuit.library.RawFeatureVector.mdx index 7bd6eb0464f..745722b1ba0 100644 --- a/docs/api/qiskit/0.28/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.28/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2511,7 +2511,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index ba4fa132fdf..ffb62221883 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.active_transpiler_settings.mdx index d63ecdef581..ad559b68f78 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 0916797feb7..d2e86701162 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.num_qubits.mdx index 28dac05ca47..630fd619929 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.qubit_channels.mdx index 9012691f2f3..1d8c6730909 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {DriveChannel(0), AcquireChannel(0), MeasureChannel(0), ControlChannel(1), ControlChannel(0)} ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.28/qiskit.pulse.builder.transpiler_settings.mdx index 2fc565981ee..63038374275 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.28/qiskit.pulse.library.discrete.mdx b/docs/api/qiskit/0.28/qiskit.pulse.library.discrete.mdx index abbbb39361b..8e0022eabd0 100644 --- a/docs/api/qiskit/0.28/qiskit.pulse.library.discrete.mdx +++ b/docs/api/qiskit/0.28/qiskit.pulse.library.discrete.mdx @@ -247,7 +247,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` @@ -402,7 +402,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.CNOTDihedral.mdx index 9707730950b..d3679a75ba5 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.Clifford.mdx index 2278dcea776..d8300f0adda 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.DensityMatrix.mdx index b53c7700e36..99e23b46ded 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.DensityMatrix.mdx @@ -384,7 +384,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -407,7 +407,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -613,7 +613,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -630,7 +630,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.PauliList.mdx index 839b37240c2..3a01958bd29 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -649,7 +649,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['XI', 'YI', 'ZX', 'IY', 'YX', 'IX', 'YZ', 'ZI', 'XY', 'IZ', 'XZ', 'YY', 'ZY', 'ZZ', 'XX', 'II'] @@ -773,7 +773,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.PauliTable.mdx index ef64bdc22fb..2de639f732c 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.PauliTable.mdx @@ -268,7 +268,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -351,7 +351,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -390,7 +390,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -623,7 +623,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['ZY', 'ZX', 'XX', 'ZI', 'YZ', 'IX', 'XZ', 'XI', 'ZZ', 'YX', 'YI', 'YY', 'IY', 'II', 'IZ', 'XY'] Lexicographically sorted @@ -662,7 +662,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -759,7 +759,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerState.mdx index 7723e11cd18..8dd508d58c9 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerTable.mdx index f28991b0a36..1ba1a932c73 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.StabilizerTable.mdx @@ -295,7 +295,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -387,7 +387,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -426,7 +426,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -685,7 +685,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+ZX', '-YY', '-IZ', '+ZZ', '-XZ', '+II', '+ZI', '-ZI', '-XY', '+IZ', '+ZY', '-ZY', '-YX', '+YX', '-XI', '-IX', '+YI', '+XI', '+YZ', '-ZZ', '-YI', '-II', '-ZX', '+XZ', '+YY', '-YZ', '+IY', '-XX', '-IY', '+IX', '+XX', '+XY'] Lexicographically sorted @@ -724,7 +724,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -829,7 +829,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.Statevector.mdx index 018f7a32966..9ced252aaef 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.Statevector.mdx @@ -413,7 +413,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -436,7 +436,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -633,7 +633,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -667,7 +667,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.28/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.28/qiskit.quantum_info.hellinger_fidelity.mdx index 935d2476fc4..65b790c2d40 100644 --- a/docs/api/qiskit/0.28/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.28/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999226029002587 ``` diff --git a/docs/api/qiskit/0.28/qpy.mdx b/docs/api/qiskit/0.28/qpy.mdx index 7839fd4d9c5..83a12ca6fc4 100644 --- a/docs/api/qiskit/0.28/qpy.mdx +++ b/docs/api/qiskit/0.28/qpy.mdx @@ -27,7 +27,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of thie file header as defined as a C struct are: -```python +```c struct { unsigned char qpy_version; unsigned char qiskit_major_version; @@ -49,7 +49,7 @@ There is a circuit payload for each circuit (where the total number is dictated The contents of HEADER as defined as a C struct are: -```python +```c struct { unit16_t name_size; double global_phase; @@ -72,7 +72,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -110,7 +110,7 @@ If the circuit contains custom defitions for any of the instruction in the circu CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -118,7 +118,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -135,7 +135,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -154,7 +154,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; unisgned int index; @@ -167,7 +167,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -180,7 +180,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -197,7 +197,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements, uint64_t expr_size, @@ -206,7 +206,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -215,7 +215,7 @@ struct { Which is followed immediately by `PARAMETER` object (both the struct and utf8 name bytes) for the symbol map key. That is followed by `size` bytes for the data of the symbol. The data format is dependent on the value of `type`. If `type` is `p` then it represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") and size will be 0, the value will just be the same as the key. If `type` is `f` then it represents a double precision float. If `type` is `c` it represents a double precision complex, which is represented by: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.28/transpiler.mdx b/docs/api/qiskit/0.28/transpiler.mdx index 6813153d323..e7bb8f742d8 100644 --- a/docs/api/qiskit/0.28/transpiler.mdx +++ b/docs/api/qiskit/0.28/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 13), ('u2', 1)]) diff --git a/docs/api/qiskit/0.29/characterization.mdx b/docs/api/qiskit/0.29/characterization.mdx index 7f1fcb6f1d3..9589f0be6e6 100644 --- a/docs/api/qiskit/0.29/characterization.mdx +++ b/docs/api/qiskit/0.29/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [20.387477708397842, 15.911648881724071] [6.838825364287641, 1.1350551736137686] {'0': [array([ 0.88740997, 20.38747771, 0.11572595]), array([ 9.82462992e-01, 1.59116489e+01, -1.13297798e-02])]} diff --git a/docs/api/qiskit/0.29/circuit.mdx b/docs/api/qiskit/0.29/circuit.mdx index 9a5033ccf58..e42d0f57dba 100644 --- a/docs/api/qiskit/0.29/circuit.mdx +++ b/docs/api/qiskit/0.29/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.29/pulse.mdx b/docs/api/qiskit/0.29/pulse.mdx index 22a93e4deee..4d38188aadb 100644 --- a/docs/api/qiskit/0.29/pulse.mdx +++ b/docs/api/qiskit/0.29/pulse.mdx @@ -164,7 +164,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -272,7 +272,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -333,7 +333,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.29/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.29/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index abdc0af78e0..78402c0d27f 100644 --- a/docs/api/qiskit/0.29/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.29/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.29/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.29/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.29/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.29/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.29/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.29/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.29/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.29/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.29/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.29/qiskit.circuit.QuantumCircuit.mdx index 3d88d1e2e48..08233e01a98 100644 --- a/docs/api/qiskit/0.29/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.29/qiskit.circuit.QuantumCircuit.mdx @@ -231,11 +231,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -267,7 +267,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2624,7 +2624,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.29/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.29/qiskit.circuit.library.PhaseOracle.mdx index 57ce3dca9d7..7aea7c48a2c 100644 --- a/docs/api/qiskit/0.29/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.29/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.29/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.29/qiskit.converters.circuit_to_instruction.mdx index a9df315574b..3da2ea985f3 100644 --- a/docs/api/qiskit/0.29/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.29/qiskit.converters.circuit_to_instruction.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.29/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 78c30b774c1..46bde75977b 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.05 ± 0.01 ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.29/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.29/qiskit.ignis.verification.gates_per_clifford.mdx index 7cc19b451e0..ba5021893da 100644 --- a/docs/api/qiskit/0.29/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.29/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.52, 'id': 0.0, 'u1': 0.14057142857142857, diff --git a/docs/api/qiskit/0.29/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.29/qiskit.ml.circuit.library.RawFeatureVector.mdx index 1898d493089..e2492c38c5c 100644 --- a/docs/api/qiskit/0.29/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.29/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2445,7 +2445,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index ba4fa132fdf..ffb62221883 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.active_transpiler_settings.mdx index d63ecdef581..ad559b68f78 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 0916797feb7..d2e86701162 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.num_qubits.mdx index 28dac05ca47..630fd619929 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.qubit_channels.mdx index 3b632d52b02..a93eecf853f 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {DriveChannel(0), MeasureChannel(0), AcquireChannel(0), ControlChannel(0), ControlChannel(1)} ``` diff --git a/docs/api/qiskit/0.29/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.29/qiskit.pulse.builder.transpiler_settings.mdx index 2fc565981ee..63038374275 100644 --- a/docs/api/qiskit/0.29/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.29/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.CNOTDihedral.mdx index 2cc52165c0b..402fa4d089b 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.Clifford.mdx index 56926e0416e..20ce487babb 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.DensityMatrix.mdx index 75e5f684320..159d98a3328 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.PauliList.mdx index 68ca42e7a88..7466fc5e825 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -590,7 +590,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['ZX', 'XI', 'XX', 'IZ', 'YZ', 'ZI', 'ZZ', 'YI', 'IY', 'IX', 'XY', 'II', 'YY', 'XZ', 'YX', 'ZY'] @@ -724,7 +724,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.PauliTable.mdx index 28c3ff58d1a..b7cffdc3e08 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['XX', 'YZ', 'YI', 'XI', 'ZX', 'IX', 'II', 'IY', 'XY', 'IZ', 'YY', 'YX', 'ZY', 'XZ', 'ZZ', 'ZI'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerState.mdx index 1c602c23cc7..e8b4326dcd5 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerTable.mdx index 1485611bf13..149332cae0b 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-IZ', '-IX', '-XX', '-IY', '+II', '+XX', '+ZX', '-XI', '-YX', '+IZ', '+ZY', '+ZZ', '-YZ', '+YX', '+YZ', '-ZY', '+YI', '-YI', '-XY', '+ZI', '-XZ', '+IY', '+YY', '+IX', '-ZI', '+XZ', '-ZZ', '-ZX', '-YY', '+XY', '+XI', '-II'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.Statevector.mdx index 4d3b9f5566b..18a61c3f2d4 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.Statevector.mdx @@ -355,7 +355,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -378,7 +378,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -577,7 +577,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -611,7 +611,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.29/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.29/qiskit.quantum_info.hellinger_fidelity.mdx index a75eb0459b9..2645d152eeb 100644 --- a/docs/api/qiskit/0.29/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.29/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999761034230688 ``` diff --git a/docs/api/qiskit/0.29/qpy.mdx b/docs/api/qiskit/0.29/qpy.mdx index 2d9bf2045eb..50fb3dc06c7 100644 --- a/docs/api/qiskit/0.29/qpy.mdx +++ b/docs/api/qiskit/0.29/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -77,7 +77,7 @@ There is a circuit payload for each circuit (where the total number is dictated The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -100,7 +100,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -138,7 +138,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -146,7 +146,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -163,7 +163,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -182,7 +182,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -195,7 +195,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -208,7 +208,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -227,7 +227,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -236,7 +236,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -245,7 +245,7 @@ struct { Which is followed immediately by `PARAMETER` object (both the struct and utf8 name bytes) for the symbol map key. That is followed by `size` bytes for the data of the symbol. The data format is dependent on the value of `type`. If `type` is `p` then it represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") and size will be 0, the value will just be the same as the key. If `type` is `f` then it represents a double precision float. If `type` is `c` it represents a double precision complex, which is represented by: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.29/transpiler.mdx b/docs/api/qiskit/0.29/transpiler.mdx index d8bc8f276dd..7763ce93eb9 100644 --- a/docs/api/qiskit/0.29/transpiler.mdx +++ b/docs/api/qiskit/0.29/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.30/characterization.mdx b/docs/api/qiskit/0.30/characterization.mdx index beab9f33106..c03c7d0f3b0 100644 --- a/docs/api/qiskit/0.30/characterization.mdx +++ b/docs/api/qiskit/0.30/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [21.477901730204536, 13.91583594063886] [2.729686975456355, 2.5711122934314505] {'0': [array([ 0.96640484, 21.47790173, 0.05514728]), array([ 0.95846762, 13.91583594, 0.03588695])]} diff --git a/docs/api/qiskit/0.30/circuit.mdx b/docs/api/qiskit/0.30/circuit.mdx index aeb7c3e06d8..1c721a0ed8e 100644 --- a/docs/api/qiskit/0.30/circuit.mdx +++ b/docs/api/qiskit/0.30/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.30/parallel.mdx b/docs/api/qiskit/0.30/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.30/parallel.mdx +++ b/docs/api/qiskit/0.30/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.30/pulse.mdx b/docs/api/qiskit/0.30/pulse.mdx index 36c2c7b3807..88aa399c516 100644 --- a/docs/api/qiskit/0.30/pulse.mdx +++ b/docs/api/qiskit/0.30/pulse.mdx @@ -164,7 +164,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -272,7 +272,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -333,7 +333,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.30/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.30/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index abdc0af78e0..78402c0d27f 100644 --- a/docs/api/qiskit/0.30/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.30/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.30/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.30/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.30/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.30/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.30/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.30/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.30/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.30/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.30/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.30/qiskit.circuit.QuantumCircuit.mdx index 065e5f49f85..a72186885a3 100644 --- a/docs/api/qiskit/0.30/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.30/qiskit.circuit.QuantumCircuit.mdx @@ -231,7 +231,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -264,7 +264,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2621,7 +2621,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.30/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.30/qiskit.circuit.library.PhaseOracle.mdx index 57ce3dca9d7..7aea7c48a2c 100644 --- a/docs/api/qiskit/0.30/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.30/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.30/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.30/qiskit.converters.circuit_to_instruction.mdx index cb711faf1ed..0c127655178 100644 --- a/docs/api/qiskit/0.30/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.30/qiskit.converters.circuit_to_instruction.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.30/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index e5f6507affc..2b331df0f67 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.02 ± 0.01 ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.30/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.30/qiskit.ignis.verification.gates_per_clifford.mdx index c51622be5de..66db6384f2c 100644 --- a/docs/api/qiskit/0.30/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.30/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.502857142857143, 'id': 0.0, 'u1': 0.13028571428571428, diff --git a/docs/api/qiskit/0.30/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.30/qiskit.ml.circuit.library.RawFeatureVector.mdx index 4e846059417..c7263ad38ef 100644 --- a/docs/api/qiskit/0.30/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.30/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2445,7 +2445,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index ba4fa132fdf..ffb62221883 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.active_transpiler_settings.mdx index d63ecdef581..ad559b68f78 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 0916797feb7..d2e86701162 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.num_qubits.mdx index 28dac05ca47..630fd619929 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.qubit_channels.mdx index 55e635ee66d..00a386e8d0e 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(1), ControlChannel(0), MeasureChannel(0), AcquireChannel(0), DriveChannel(0)} ``` diff --git a/docs/api/qiskit/0.30/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.30/qiskit.pulse.builder.transpiler_settings.mdx index 2fc565981ee..63038374275 100644 --- a/docs/api/qiskit/0.30/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.30/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.CNOTDihedral.mdx index 2cc52165c0b..402fa4d089b 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.Clifford.mdx index 56926e0416e..20ce487babb 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.DensityMatrix.mdx index 75e5f684320..159d98a3328 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.PauliList.mdx index 5167284bcaa..bdb33191f97 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -590,7 +590,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['XZ', 'ZX', 'II', 'ZY', 'ZI', 'XX', 'YY', 'XI', 'YX', 'IZ', 'ZZ', 'IY', 'XY', 'YZ', 'YI', 'IX'] @@ -724,7 +724,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.PauliTable.mdx index 7fe39b296cf..c20eea55230 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['IZ', 'II', 'IY', 'XX', 'XI', 'YI', 'XZ', 'ZZ', 'ZY', 'YZ', 'YX', 'XY', 'YY', 'ZI', 'IX', 'ZX'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerState.mdx index 1c602c23cc7..e8b4326dcd5 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerTable.mdx index d36e1f30268..00742091c70 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-XI', '-IZ', '+YI', '-YY', '+IY', '+YY', '-II', '-XY', '-IX', '+XI', '-ZI', '-IY', '+IX', '+II', '-YZ', '+XZ', '+ZI', '+YZ', '-YX', '+ZZ', '-ZZ', '+XY', '-XX', '-ZX', '+IZ', '+YX', '-XZ', '-YI', '+XX', '+ZX', '+ZY', '-ZY'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.Statevector.mdx index 4d3b9f5566b..18a61c3f2d4 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.Statevector.mdx @@ -355,7 +355,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -378,7 +378,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -577,7 +577,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -611,7 +611,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.30/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.30/qiskit.quantum_info.hellinger_fidelity.mdx index d609815bc67..cce605ac344 100644 --- a/docs/api/qiskit/0.30/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.30/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999227487701391 ``` diff --git a/docs/api/qiskit/0.30/qpy.mdx b/docs/api/qiskit/0.30/qpy.mdx index 2d9bf2045eb..50fb3dc06c7 100644 --- a/docs/api/qiskit/0.30/qpy.mdx +++ b/docs/api/qiskit/0.30/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -77,7 +77,7 @@ There is a circuit payload for each circuit (where the total number is dictated The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -100,7 +100,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -138,7 +138,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -146,7 +146,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -163,7 +163,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -182,7 +182,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -195,7 +195,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -208,7 +208,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -227,7 +227,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -236,7 +236,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -245,7 +245,7 @@ struct { Which is followed immediately by `PARAMETER` object (both the struct and utf8 name bytes) for the symbol map key. That is followed by `size` bytes for the data of the symbol. The data format is dependent on the value of `type`. If `type` is `p` then it represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") and size will be 0, the value will just be the same as the key. If `type` is `f` then it represents a double precision float. If `type` is `c` it represents a double precision complex, which is represented by: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.30/transpiler.mdx b/docs/api/qiskit/0.30/transpiler.mdx index 68305ec7fa9..7e7adb767a1 100644 --- a/docs/api/qiskit/0.30/transpiler.mdx +++ b/docs/api/qiskit/0.30/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.31/characterization.mdx b/docs/api/qiskit/0.31/characterization.mdx index 132ee0c1d67..4d9b902f6a6 100644 --- a/docs/api/qiskit/0.31/characterization.mdx +++ b/docs/api/qiskit/0.31/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [21.440494609966844, 13.666453773193348] [8.417407314244493, 0.6913907313559056] {'0': [array([ 0.93939706, 21.44049461, 0.07359462]), array([ 0.95454371, 13.66645377, 0.03610129])]} diff --git a/docs/api/qiskit/0.31/circuit.mdx b/docs/api/qiskit/0.31/circuit.mdx index 12fd81e67ac..248c6c13127 100644 --- a/docs/api/qiskit/0.31/circuit.mdx +++ b/docs/api/qiskit/0.31/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.31/parallel.mdx b/docs/api/qiskit/0.31/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.31/parallel.mdx +++ b/docs/api/qiskit/0.31/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.31/pulse.mdx b/docs/api/qiskit/0.31/pulse.mdx index 71bcee5ee0c..51755280846 100644 --- a/docs/api/qiskit/0.31/pulse.mdx +++ b/docs/api/qiskit/0.31/pulse.mdx @@ -164,7 +164,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -272,7 +272,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -333,7 +333,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.31/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.31/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index abdc0af78e0..78402c0d27f 100644 --- a/docs/api/qiskit/0.31/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.31/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.31/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.31/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.31/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.31/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.31/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.31/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.31/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.31/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.31/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.31/qiskit.circuit.QuantumCircuit.mdx index e75a966ac21..772fb5707bc 100644 --- a/docs/api/qiskit/0.31/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.31/qiskit.circuit.QuantumCircuit.mdx @@ -231,7 +231,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -264,7 +264,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2621,7 +2621,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.31/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.31/qiskit.circuit.library.PhaseOracle.mdx index 57ce3dca9d7..7aea7c48a2c 100644 --- a/docs/api/qiskit/0.31/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.31/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.31/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.31/qiskit.converters.circuit_to_instruction.mdx index 8f43236a095..ae0477009f2 100644 --- a/docs/api/qiskit/0.31/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.31/qiskit.converters.circuit_to_instruction.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.31/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index a20ea81dccf..7d5a0ea8662 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.01 ± 0.01 ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.31/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.31/qiskit.ignis.verification.gates_per_clifford.mdx index 7482459c328..c3943b4563f 100644 --- a/docs/api/qiskit/0.31/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.31/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.5017142857142858, 'id': 0.0, 'u1': 0.144, diff --git a/docs/api/qiskit/0.31/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.31/qiskit.ml.circuit.library.RawFeatureVector.mdx index 26c2d34684e..6f40d8de334 100644 --- a/docs/api/qiskit/0.31/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.31/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2445,7 +2445,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index ba4fa132fdf..ffb62221883 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.active_transpiler_settings.mdx index d63ecdef581..ad559b68f78 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 0916797feb7..d2e86701162 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.num_qubits.mdx index 28dac05ca47..630fd619929 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.qubit_channels.mdx index 15e3d7450da..91303c6446c 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(1), AcquireChannel(0), ControlChannel(0), DriveChannel(0), MeasureChannel(0)} ``` diff --git a/docs/api/qiskit/0.31/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.31/qiskit.pulse.builder.transpiler_settings.mdx index 2fc565981ee..63038374275 100644 --- a/docs/api/qiskit/0.31/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.31/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.CNOTDihedral.mdx index 2cc52165c0b..402fa4d089b 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.Clifford.mdx index 56926e0416e..20ce487babb 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.DensityMatrix.mdx index 75e5f684320..159d98a3328 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.PauliList.mdx index e4d7047f233..4a6c05ee5a8 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -590,7 +590,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['XI', 'XY', 'IZ', 'ZI', 'ZX', 'IY', 'YY', 'IX', 'ZY', 'XZ', 'ZZ', 'II', 'YX', 'XX', 'YI', 'YZ'] @@ -724,7 +724,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.PauliTable.mdx index 64d8e646da6..830f07591bc 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['XX', 'XY', 'YZ', 'ZZ', 'IY', 'ZI', 'YY', 'YX', 'IX', 'ZX', 'ZY', 'YI', 'XZ', 'II', 'XI', 'IZ'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerState.mdx index 1c602c23cc7..e8b4326dcd5 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerTable.mdx index de98394e566..b4cae522f53 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+YZ', '-II', '-XI', '-YY', '-ZI', '-ZY', '+XZ', '+IY', '-IX', '-XY', '+IX', '-IY', '+XX', '+XY', '+YY', '+ZX', '-XX', '+IZ', '-ZX', '+YX', '+YI', '-YZ', '-YX', '+II', '-XZ', '+ZI', '-IZ', '+ZZ', '+XI', '-ZZ', '+ZY', '-YI'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.Statevector.mdx index 4d3b9f5566b..18a61c3f2d4 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.Statevector.mdx @@ -355,7 +355,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -378,7 +378,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -577,7 +577,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -611,7 +611,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.31/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.31/qiskit.quantum_info.hellinger_fidelity.mdx index 97892e70a39..1b809c12dd0 100644 --- a/docs/api/qiskit/0.31/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.31/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9993551955573895 ``` diff --git a/docs/api/qiskit/0.31/qpy.mdx b/docs/api/qiskit/0.31/qpy.mdx index 2d9bf2045eb..50fb3dc06c7 100644 --- a/docs/api/qiskit/0.31/qpy.mdx +++ b/docs/api/qiskit/0.31/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -77,7 +77,7 @@ There is a circuit payload for each circuit (where the total number is dictated The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -100,7 +100,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -138,7 +138,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -146,7 +146,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -163,7 +163,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -182,7 +182,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -195,7 +195,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -208,7 +208,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -227,7 +227,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -236,7 +236,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -245,7 +245,7 @@ struct { Which is followed immediately by `PARAMETER` object (both the struct and utf8 name bytes) for the symbol map key. That is followed by `size` bytes for the data of the symbol. The data format is dependent on the value of `type`. If `type` is `p` then it represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") and size will be 0, the value will just be the same as the key. If `type` is `f` then it represents a double precision float. If `type` is `c` it represents a double precision complex, which is represented by: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.31/transpiler.mdx b/docs/api/qiskit/0.31/transpiler.mdx index 643b5547fec..a917e2c7fbf 100644 --- a/docs/api/qiskit/0.31/transpiler.mdx +++ b/docs/api/qiskit/0.31/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 13), ('u2', 1)]) diff --git a/docs/api/qiskit/0.32/characterization.mdx b/docs/api/qiskit/0.32/characterization.mdx index b36ebbc47f0..dc4ac6e4ece 100644 --- a/docs/api/qiskit/0.32/characterization.mdx +++ b/docs/api/qiskit/0.32/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [26.778039717539414, 15.730331327703631] [3.4890959867667344, 1.469881180263674] {'0': [array([ 1.02053207e+00, 2.67780397e+01, -2.23793296e-02]), array([ 1.01373302, 15.73033133, -0.02744208])]} diff --git a/docs/api/qiskit/0.32/circuit.mdx b/docs/api/qiskit/0.32/circuit.mdx index 86d1fbba2e8..387bf05d5a8 100644 --- a/docs/api/qiskit/0.32/circuit.mdx +++ b/docs/api/qiskit/0.32/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.32/parallel.mdx b/docs/api/qiskit/0.32/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.32/parallel.mdx +++ b/docs/api/qiskit/0.32/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.32/pulse.mdx b/docs/api/qiskit/0.32/pulse.mdx index 5765f8ed2a2..607813d59e0 100644 --- a/docs/api/qiskit/0.32/pulse.mdx +++ b/docs/api/qiskit/0.32/pulse.mdx @@ -164,7 +164,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -272,7 +272,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -333,7 +333,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.nlopts.mdx b/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.nlopts.mdx index 1491d849fd7..94ca803a191 100644 --- a/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.nlopts.mdx @@ -20,7 +20,7 @@ If you running Aqua on Windows, then you might want to refer to the specific [in If you are running Aqua on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit\_Aqua package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -28,7 +28,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Aqua, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.32/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx b/docs/api/qiskit/0.32/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx index abdc0af78e0..78402c0d27f 100644 --- a/docs/api/qiskit/0.32/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx +++ b/docs/api/qiskit/0.32/qiskit.aqua.components.oracles.LogicalExpressionOracle.mdx @@ -19,7 +19,7 @@ python_api_name: qiskit.aqua.components.oracles.LogicalExpressionOracle The following is an example of a CNF expressed in DIMACS format: - ```python + ```text c This is an example DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.32/qiskit.chemistry.drivers.gaussiand.mdx b/docs/api/qiskit/0.32/qiskit.chemistry.drivers.gaussiand.mdx index 4ff7f353940..a51b109dc9c 100644 --- a/docs/api/qiskit/0.32/qiskit.chemistry.drivers.gaussiand.mdx +++ b/docs/api/qiskit/0.32/qiskit.chemistry.drivers.gaussiand.mdx @@ -32,7 +32,7 @@ If no prebuilt native extension binary, as supplied with Qiskit, works for your The full syntax of the f2py command on macOS and Linux is as follows: -```python +```sh f2py -c -m qcmatrixio qcmatrixio.F ``` @@ -42,7 +42,7 @@ Special Notes for macOS X If your account is using the bash shell on a macOS X machine, you can edit the .bash\_profile file in your home directory and add the following lines: -```python +```sh export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications alias enable_gaussian='. $g16root/g16/bsd/g16.profile' @@ -52,13 +52,13 @@ The above assumes that the application Gaussian™ 16 was placed in the /Applica Now, before Qiskit can properly interface Gaussian™ 16, you will have to run the enable\_gaussian command defined above. This, however, may generate the following error: -```python +```sh bash: ulimit: open files: cannot modify limit: Invalid argument ``` While this error is not harmful, you might want to suppress it, which can be done by entering the following sequence of commands on the command line: -```python +```sh echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf sudo sysctl -w kern.maxfiles=65536 @@ -68,13 +68,13 @@ ulimit -n 65536 65536 as well as finally adding the following line to the .bash\_profile file in your account’s home directory: -```python +```sh ulimit -n 65536 65536 ``` At the end of this configuration, the .bash\_profile in your account’s home directory should have a section in it like in the following script snippet: -```python +```sh # Gaussian 16 export GAUSS_SCRDIR=~/.gaussian export g16root=/Applications @@ -88,13 +88,13 @@ The following steps can be used with the Intel Fortran compiler on the Microsoft 1. Set up the environment by running the Intel Fortran compiler batch program ifortvars.bat as follows: - ```python + ```sh ifortvars -arch intel64 ``` 2. Then, in this environment, issue the following command from within the gauopen directory: - ```python + ```sh f2py -c --fcompiler=intelvem -m qcmatrixio qcmatrixio.F ``` diff --git a/docs/api/qiskit/0.32/qiskit.chemistry.drivers.psi4d.mdx b/docs/api/qiskit/0.32/qiskit.chemistry.drivers.psi4d.mdx index 1c130ff9dba..26a8cbca10f 100644 --- a/docs/api/qiskit/0.32/qiskit.chemistry.drivers.psi4d.mdx +++ b/docs/api/qiskit/0.32/qiskit.chemistry.drivers.psi4d.mdx @@ -16,7 +16,7 @@ python_api_name: qiskit.chemistry.drivers.psi4d Therefore, once PSI4 has been installed, the psi4 executable must be reachable via the system environment path. For example, on macOS, this can be achieved by adding the following section to the .bash\_profile file in the user’s home directory: -```python +```sh # PSI4 alias enable_psi4='export PATH=/Users/username/psi4conda/bin:$PATH' ``` diff --git a/docs/api/qiskit/0.32/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.32/qiskit.circuit.QuantumCircuit.mdx index 7243e651055..6fc884733ce 100644 --- a/docs/api/qiskit/0.32/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.32/qiskit.circuit.QuantumCircuit.mdx @@ -231,7 +231,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ┌───────┐ q_0: ┤ Ry(A) ├────■──── @@ -264,7 +264,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -2621,7 +2621,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.32/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.32/qiskit.circuit.library.PhaseOracle.mdx index 57ce3dca9d7..7aea7c48a2c 100644 --- a/docs/api/qiskit/0.32/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.32/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.32/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.32/qiskit.converters.circuit_to_instruction.mdx index d513816ee40..6288ffa60e5 100644 --- a/docs/api/qiskit/0.32/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.32/qiskit.converters.circuit_to_instruction.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.32/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 228e777ab74..a039c2354fe 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -0.98 ± 0.01 ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epc.mdx index 2353e616047..a7e4f51801b 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epg.mdx index 6c71f763cd1..d80e5b76bd0 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epc.mdx index 60eb426a632..69a41a50bc6 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epg.mdx index 60d07044e3f..171bec738a2 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.32/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.32/qiskit.ignis.verification.gates_per_clifford.mdx index 1b22fb95fa3..26e55bd6851 100644 --- a/docs/api/qiskit/0.32/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.32/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.5154285714285713, 'id': 0.0, 'u1': 0.09942857142857142, diff --git a/docs/api/qiskit/0.32/qiskit.ml.circuit.library.RawFeatureVector.mdx b/docs/api/qiskit/0.32/qiskit.ml.circuit.library.RawFeatureVector.mdx index 97fb9ae6468..3dcd397f0cc 100644 --- a/docs/api/qiskit/0.32/qiskit.ml.circuit.library.RawFeatureVector.mdx +++ b/docs/api/qiskit/0.32/qiskit.ml.circuit.library.RawFeatureVector.mdx @@ -2445,7 +2445,7 @@ python_api_name: qiskit.ml.circuit.library.RawFeatureVector print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index ba4fa132fdf..ffb62221883 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.active_transpiler_settings.mdx index d63ecdef581..ad559b68f78 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 0916797feb7..d2e86701162 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.num_qubits.mdx index 28dac05ca47..630fd619929 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.qubit_channels.mdx index 15bd08f0c50..0b0814f670b 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {DriveChannel(0), ControlChannel(0), ControlChannel(1), AcquireChannel(0), MeasureChannel(0)} ``` diff --git a/docs/api/qiskit/0.32/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.32/qiskit.pulse.builder.transpiler_settings.mdx index 2fc565981ee..63038374275 100644 --- a/docs/api/qiskit/0.32/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.32/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.CNOTDihedral.mdx index 2cc52165c0b..402fa4d089b 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.Clifford.mdx index 56926e0416e..20ce487babb 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.DensityMatrix.mdx index 75e5f684320..159d98a3328 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.PauliList.mdx index 7fda81017dc..59ec61b2f4e 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -590,7 +590,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['ZI', 'YY', 'ZX', 'II', 'IX', 'YZ', 'XY', 'YX', 'IY', 'ZY', 'ZZ', 'YI', 'IZ', 'XX', 'XZ', 'XI'] @@ -724,7 +724,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.PauliTable.mdx index 90a84c42a32..de5b899eeae 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['ZY', 'YY', 'XZ', 'IY', 'ZZ', 'XI', 'YZ', 'ZI', 'XX', 'IX', 'II', 'IZ', 'YX', 'YI', 'XY', 'ZX'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerState.mdx index 1c602c23cc7..e8b4326dcd5 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerTable.mdx index 0434a46daee..8d99f224fb7 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+IY', '-ZZ', '-ZX', '-IZ', '-YZ', '+XI', '-XZ', '+II', '-II', '-YY', '-YI', '-IX', '-IY', '+YX', '+YY', '-XI', '+ZY', '+IZ', '+ZZ', '+ZI', '-ZY', '+ZX', '+XZ', '-YX', '+XY', '-XX', '+YZ', '+IX', '-ZI', '+XX', '+YI', '-XY'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.Statevector.mdx index 4d3b9f5566b..18a61c3f2d4 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.Statevector.mdx @@ -355,7 +355,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -378,7 +378,7 @@ python_api_name: qiskit.quantum_info.Statevector print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -577,7 +577,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -594,7 +594,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -611,7 +611,7 @@ python_api_name: qiskit.quantum_info.Statevector print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.32/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.32/qiskit.quantum_info.hellinger_fidelity.mdx index cd6bddc9984..7ca162af035 100644 --- a/docs/api/qiskit/0.32/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.32/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999961828418649 ``` diff --git a/docs/api/qiskit/0.32/qpy.mdx b/docs/api/qiskit/0.32/qpy.mdx index 2d9bf2045eb..50fb3dc06c7 100644 --- a/docs/api/qiskit/0.32/qpy.mdx +++ b/docs/api/qiskit/0.32/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -77,7 +77,7 @@ There is a circuit payload for each circuit (where the total number is dictated The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -100,7 +100,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -138,7 +138,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -146,7 +146,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -163,7 +163,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -182,7 +182,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -195,7 +195,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -208,7 +208,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -227,7 +227,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -236,7 +236,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -245,7 +245,7 @@ struct { Which is followed immediately by `PARAMETER` object (both the struct and utf8 name bytes) for the symbol map key. That is followed by `size` bytes for the data of the symbol. The data format is dependent on the value of `type`. If `type` is `p` then it represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") and size will be 0, the value will just be the same as the key. If `type` is `f` then it represents a double precision float. If `type` is `c` it represents a double precision complex, which is represented by: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.32/transpiler.mdx b/docs/api/qiskit/0.32/transpiler.mdx index 057472255b3..978c7d7513c 100644 --- a/docs/api/qiskit/0.32/transpiler.mdx +++ b/docs/api/qiskit/0.32/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.33/characterization.mdx b/docs/api/qiskit/0.33/characterization.mdx index c089de127e9..996bc4abbdd 100644 --- a/docs/api/qiskit/0.33/characterization.mdx +++ b/docs/api/qiskit/0.33/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [39.99999999999999, 16.269692736914013] [26.17751342086017, 3.5686651620388012] {'0': [array([ 1.34253753, 40. , -0.35421085]), array([ 1.04516346, 16.26969274, -0.04058683])]} diff --git a/docs/api/qiskit/0.33/circuit.mdx b/docs/api/qiskit/0.33/circuit.mdx index 638f85ff295..42e8d8c8fec 100644 --- a/docs/api/qiskit/0.33/circuit.mdx +++ b/docs/api/qiskit/0.33/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.33/parallel.mdx b/docs/api/qiskit/0.33/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.33/parallel.mdx +++ b/docs/api/qiskit/0.33/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.33/pulse.mdx b/docs/api/qiskit/0.33/pulse.mdx index d3b97af9b04..803f153dc78 100644 --- a/docs/api/qiskit/0.33/pulse.mdx +++ b/docs/api/qiskit/0.33/pulse.mdx @@ -439,7 +439,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -547,7 +547,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -608,7 +608,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.33/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.33/qiskit.circuit.QuantumCircuit.mdx index a7dd4903edc..9bdc493fdba 100644 --- a/docs/api/qiskit/0.33/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.33/qiskit.circuit.QuantumCircuit.mdx @@ -242,11 +242,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -278,7 +278,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3726,7 +3726,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.33/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.33/qiskit.circuit.library.PhaseOracle.mdx index 8bb82404401..bd195183fe1 100644 --- a/docs/api/qiskit/0.33/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.33/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.33/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.33/qiskit.converters.circuit_to_instruction.mdx index a9496853f33..bcd35adbd1a 100644 --- a/docs/api/qiskit/0.33/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.33/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-0', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.33/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 4097ac50d1b..18bf14fd69e 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.01 ± 0.01 ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epc.mdx index 6f879685789..51e93e90f77 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epg.mdx index 0e75a7f650f..a21c11dee4f 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epc.mdx index 1b1d6c6fb6d..17970871954 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epg.mdx index c3eceae3730..5a19a88b3fe 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.33/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.33/qiskit.ignis.verification.gates_per_clifford.mdx index 757c5f2c130..5b981616312 100644 --- a/docs/api/qiskit/0.33/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.33/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.473142857142857, 'id': 0.0, 'u1': 0.10285714285714286, diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 0de53dd162a..092d964086d 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.active_transpiler_settings.mdx index d0727c18686..9d80a9eb0e8 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.circuit_scheduler_settings.mdx index bbc511bbd45..63738e62149 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.num_qubits.mdx index 410f4b8eefd..d9f6f07f0e8 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.qubit_channels.mdx index b3584f1de9a..68946bf70b7 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {MeasureChannel(0), AcquireChannel(0), DriveChannel(0), ControlChannel(1), ControlChannel(0)} ``` diff --git a/docs/api/qiskit/0.33/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.33/qiskit.pulse.builder.transpiler_settings.mdx index b738651190e..fce9efbb112 100644 --- a/docs/api/qiskit/0.33/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.33/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.CNOTDihedral.mdx index 7e869c5c88a..fc952cf93a1 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.Clifford.mdx index 60ffc596fc7..3798d11439e 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.DensityMatrix.mdx index 48c4b18ab16..3d0ce7253ec 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.PauliList.mdx index b47f7bca895..a406edd901f 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -606,7 +606,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['IX', 'YY', 'YX', 'YI', 'IZ', 'ZI', 'II', 'ZZ', 'IY', 'ZX', 'XY', 'YZ', 'ZY', 'XI', 'XX', 'XZ'] @@ -740,7 +740,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.PauliTable.mdx index 5c5f5aa51c3..51ffecae523 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YI', 'XZ', 'IZ', 'ZI', 'YX', 'XY', 'IY', 'XI', 'IX', 'II', 'YY', 'XX', 'ZZ', 'ZY', 'YZ', 'ZX'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerState.mdx index 4a3804b2358..9905d89da18 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerTable.mdx index 1c5a5d4841d..1392ba1201c 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-IX', '-ZI', '+II', '-XX', '+ZI', '-ZY', '+ZY', '-YZ', '+YI', '-XI', '+XX', '-II', '-IZ', '+ZX', '+IX', '-YI', '-IY', '-ZZ', '+XY', '+YZ', '+YY', '+YX', '-YY', '-XY', '+IY', '+ZZ', '+IZ', '-YX', '-XZ', '+XZ', '+XI', '-ZX'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.Statevector.mdx index 623720a6d2a..e52a6828430 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.33/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.33/qiskit.quantum_info.hellinger_fidelity.mdx index c1f87495df4..78da7564b8b 100644 --- a/docs/api/qiskit/0.33/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.33/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999990460627669 ``` diff --git a/docs/api/qiskit/0.33/qpy.mdx b/docs/api/qiskit/0.33/qpy.mdx index 6fa7a997f82..72a9869cb03 100644 --- a/docs/api/qiskit/0.33/qpy.mdx +++ b/docs/api/qiskit/0.33/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -87,7 +87,7 @@ Version 3 of the QPY format is identical to [Version 2](#version-2) except that This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -107,7 +107,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -125,7 +125,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -146,7 +146,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -155,7 +155,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -175,7 +175,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -201,7 +201,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -224,7 +224,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -264,7 +264,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -272,7 +272,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -289,7 +289,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -308,7 +308,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -321,7 +321,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -336,7 +336,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -355,7 +355,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -364,7 +364,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -379,7 +379,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.33/transpiler.mdx b/docs/api/qiskit/0.33/transpiler.mdx index 1ba16120f7c..cb87e344fe0 100644 --- a/docs/api/qiskit/0.33/transpiler.mdx +++ b/docs/api/qiskit/0.33/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 13), ('u2', 1)]) diff --git a/docs/api/qiskit/0.35/characterization.mdx b/docs/api/qiskit/0.35/characterization.mdx index 172ce22eac4..9c56b8492a3 100644 --- a/docs/api/qiskit/0.35/characterization.mdx +++ b/docs/api/qiskit/0.35/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [22.233040455713148, 16.539708720764434] [1.8583730365573197, 3.8272445820851893] {'0': [array([ 0.93582298, 22.23304046, 0.07253304]), array([ 1.04039329, 16.53970872, -0.0456975 ])]} diff --git a/docs/api/qiskit/0.35/circuit.mdx b/docs/api/qiskit/0.35/circuit.mdx index e045b0ed9b2..10d1f4d73dd 100644 --- a/docs/api/qiskit/0.35/circuit.mdx +++ b/docs/api/qiskit/0.35/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.35/parallel.mdx b/docs/api/qiskit/0.35/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.35/parallel.mdx +++ b/docs/api/qiskit/0.35/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.35/pulse.mdx b/docs/api/qiskit/0.35/pulse.mdx index 07c429d9245..62411b58c0b 100644 --- a/docs/api/qiskit/0.35/pulse.mdx +++ b/docs/api/qiskit/0.35/pulse.mdx @@ -439,7 +439,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -547,7 +547,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -608,7 +608,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx index 7f5397796b0..248fdb016a3 100644 --- a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx +++ b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx @@ -144,11 +144,11 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -180,7 +180,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3758,7 +3758,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx index 2b2aa660b2a..1ec5eed99d7 100644 --- a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx +++ b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx @@ -32,7 +32,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -167,11 +167,11 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -203,7 +203,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3781,7 +3781,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx index 213886344b5..e3e62275b5b 100644 --- a/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx +++ b/docs/api/qiskit/0.35/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx @@ -42,7 +42,7 @@ $$ qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -180,11 +180,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -216,7 +216,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3794,7 +3794,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.35/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.35/qiskit.circuit.QuantumCircuit.mdx index 98fbcca8086..a921a2100a9 100644 --- a/docs/api/qiskit/0.35/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.35/qiskit.circuit.QuantumCircuit.mdx @@ -242,11 +242,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -278,7 +278,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3842,7 +3842,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.35/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.35/qiskit.circuit.library.PhaseOracle.mdx index b0e56614507..011130de314 100644 --- a/docs/api/qiskit/0.35/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.35/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.35/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.35/qiskit.converters.circuit_to_instruction.mdx index 9ce5e26b81f..2f8d2c1c87e 100644 --- a/docs/api/qiskit/0.35/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.35/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-0', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.35/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index eacf9c60714..ebc8307abb7 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.00 ± 0.01 ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epc.mdx index 6f879685789..51e93e90f77 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epg.mdx index 0e75a7f650f..a21c11dee4f 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epc.mdx index 1b1d6c6fb6d..17970871954 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epg.mdx index c3eceae3730..5a19a88b3fe 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.35/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.35/qiskit.ignis.verification.gates_per_clifford.mdx index 77db15326df..d65503eb627 100644 --- a/docs/api/qiskit/0.35/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.35/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.457142857142857, 'id': 0.0, 'u1': 0.1337142857142857, diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 183a7f95667..181dd1a4ea6 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.active_transpiler_settings.mdx index 4f0f01a9621..d4de796ccfb 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 28d2d25bb7f..2697a290864 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.num_qubits.mdx index 45c3d47382e..09c29ac773f 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.qubit_channels.mdx index 1614c85dfbb..1abe41d7b15 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(0), DriveChannel(0), MeasureChannel(0), AcquireChannel(0), ControlChannel(1)} ``` diff --git a/docs/api/qiskit/0.35/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.35/qiskit.pulse.builder.transpiler_settings.mdx index 7e5ce00b46d..c01157da084 100644 --- a/docs/api/qiskit/0.35/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.35/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.CNOTDihedral.mdx index c4c54f6c1d0..ae0c08cb004 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.Clifford.mdx index 7554c9dd552..139d6818b39 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.DensityMatrix.mdx index b746385b0d8..04cbd38811c 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.PauliList.mdx index 1f8e78d4629..1c6ef63bf90 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -609,7 +609,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['ZI', 'ZY', 'YZ', 'YX', 'XY', 'II', 'IX', 'XX', 'IY', 'YI', 'XI', 'YY', 'ZZ', 'IZ', 'ZX', 'XZ'] @@ -743,7 +743,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.PauliTable.mdx index a4b0cea0197..6c943a48375 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YY', 'XZ', 'XY', 'ZX', 'ZY', 'YI', 'ZZ', 'IZ', 'YX', 'YZ', 'XX', 'II', 'ZI', 'XI', 'IX', 'IY'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerState.mdx index bcc4f08b9ca..48706a91ad2 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerTable.mdx index 8c5c9aaef6d..b094700bceb 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-IZ', '+IY', '-YX', '-YY', '-II', '+ZX', '-YZ', '+XY', '+ZY', '+ZZ', '-IY', '+II', '+XZ', '-ZZ', '+YX', '+XX', '+YZ', '+ZI', '-ZX', '+YY', '-IX', '+YI', '+IX', '-XZ', '+IZ', '-ZY', '-YI', '+XI', '-XY', '-XX', '-ZI', '-XI'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.Statevector.mdx index ac1d4c2f631..53c7db003c3 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.35/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.35/qiskit.quantum_info.hellinger_fidelity.mdx index d71e61c6cd6..ea912e7e606 100644 --- a/docs/api/qiskit/0.35/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.35/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9999227399273289 ``` diff --git a/docs/api/qiskit/0.35/qpy.mdx b/docs/api/qiskit/0.35/qpy.mdx index 943700b9aa3..4b1e5447a97 100644 --- a/docs/api/qiskit/0.35/qpy.mdx +++ b/docs/api/qiskit/0.35/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -81,7 +81,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -99,7 +99,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -115,7 +115,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -137,7 +137,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -157,7 +157,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -175,7 +175,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -196,7 +196,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -205,7 +205,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -225,7 +225,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -251,7 +251,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -276,7 +276,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -320,7 +320,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -328,7 +328,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -345,7 +345,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -364,7 +364,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -377,7 +377,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -392,7 +392,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -411,7 +411,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -420,7 +420,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -435,7 +435,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.35/transpiler.mdx b/docs/api/qiskit/0.35/transpiler.mdx index b8807189eb1..fa722932038 100644 --- a/docs/api/qiskit/0.35/transpiler.mdx +++ b/docs/api/qiskit/0.35/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.36/characterization.mdx b/docs/api/qiskit/0.36/characterization.mdx index 1dc1345c8f3..8d195bf95ff 100644 --- a/docs/api/qiskit/0.36/characterization.mdx +++ b/docs/api/qiskit/0.36/characterization.mdx @@ -98,7 +98,7 @@ for i in range(2): plt.show() ``` -```python +``` [39.99999999999999, 13.511137526543184] [8.286466841468902, 1.367831424106067] {'0': [array([ 1.38952574, 40. , -0.3767298 ]), array([ 1.00149206, 13.51113753, 0.02038426])]} diff --git a/docs/api/qiskit/0.36/circuit.mdx b/docs/api/qiskit/0.36/circuit.mdx index 0b6a7e29656..f0cb6bc5e00 100644 --- a/docs/api/qiskit/0.36/circuit.mdx +++ b/docs/api/qiskit/0.36/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.36/parallel.mdx b/docs/api/qiskit/0.36/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.36/parallel.mdx +++ b/docs/api/qiskit/0.36/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.36/pulse.mdx b/docs/api/qiskit/0.36/pulse.mdx index e18037e7b7b..901e641fce3 100644 --- a/docs/api/qiskit/0.36/pulse.mdx +++ b/docs/api/qiskit/0.36/pulse.mdx @@ -439,7 +439,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -547,7 +547,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -608,7 +608,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx index 3b59273e4cc..ba6a8be1c11 100644 --- a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx +++ b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx @@ -144,11 +144,11 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -180,7 +180,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3758,7 +3758,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx index ae6c7bbfcfb..71ced8f7c33 100644 --- a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx +++ b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx @@ -32,7 +32,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -167,11 +167,11 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -203,7 +203,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3781,7 +3781,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx index e315ff05a51..559fdc2f95a 100644 --- a/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx +++ b/docs/api/qiskit/0.36/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx @@ -42,7 +42,7 @@ $$ qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -180,11 +180,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -216,7 +216,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3794,7 +3794,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.36/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.36/qiskit.circuit.QuantumCircuit.mdx index 522c67fc2e7..6852ea780b4 100644 --- a/docs/api/qiskit/0.36/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.36/qiskit.circuit.QuantumCircuit.mdx @@ -242,11 +242,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -278,7 +278,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3842,7 +3842,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.36/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.36/qiskit.circuit.library.PhaseOracle.mdx index b0e56614507..011130de314 100644 --- a/docs/api/qiskit/0.36/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.36/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.36/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.36/qiskit.converters.circuit_to_instruction.mdx index 9ce5e26b81f..2f8d2c1c87e 100644 --- a/docs/api/qiskit/0.36/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.36/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-0', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx b/docs/api/qiskit/0.36/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx index 8fc9aa63b3c..b28d73bac7d 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.mitigation.expval_meas_mitigator_circuits.mdx @@ -61,7 +61,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits mitigator.plot_assignment_matrix() ``` - ```python + ``` ``` @@ -95,7 +95,7 @@ python_api_name: qiskit.ignis.mitigation.expval_meas_mitigator_circuits expval_mit, error_mit)) ``` - ```python + ``` Expval (no mitigation): -0.66 ± 0.01 Expval (with mitigation): -1.01 ± 0.01 ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epc.mdx b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epc.mdx index 6f879685789..51e93e90f77 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epc.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epc.mdx @@ -39,7 +39,7 @@ $$ print(epc) ``` - ```python + ``` 0.0013302908430798954 ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epg.mdx b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epg.mdx index 0e75a7f650f..a21c11dee4f 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epg.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_1q_epg.mdx @@ -55,7 +55,7 @@ $$ pprint.pprint(epgs) ``` - ```python + ``` {'u1': 0, 'u2': 0.0011278195488721805, 'u3': 0.002255639097744361} ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epc.mdx b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epc.mdx index 1b1d6c6fb6d..17970871954 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epc.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epc.mdx @@ -52,7 +52,7 @@ $$ print('Total sequence EPC: %f, 2Q gate contribution: %f' % (epc, epc_2q)) ``` - ```python + ``` Total sequence EPC: 0.055868, 2Q gate contribution: 0.051004 ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epg.mdx b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epg.mdx index c3eceae3730..5a19a88b3fe 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epg.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.verification.calculate_2q_epg.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.ignis.verification.calculate_2q_epg print('EPG without `list_epgs_1q`: %f, with `list_epgs_1q`: %f' % (epg_no_comp, epg_comp)) ``` - ```python + ``` EPG without `list_epgs_1q`: 0.016107, with `list_epgs_1q`: 0.013622 ``` diff --git a/docs/api/qiskit/0.36/qiskit.ignis.verification.gates_per_clifford.mdx b/docs/api/qiskit/0.36/qiskit.ignis.verification.gates_per_clifford.mdx index 415ae1487b3..9ebf0747e37 100644 --- a/docs/api/qiskit/0.36/qiskit.ignis.verification.gates_per_clifford.mdx +++ b/docs/api/qiskit/0.36/qiskit.ignis.verification.gates_per_clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.ignis.verification.gates_per_clifford pprint.pprint(ngates) ``` - ```python + ``` {0: {'cx': 1.526857142857143, 'id': 0.0, 'u1': 0.12685714285714286, diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 183a7f95667..181dd1a4ea6 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.active_transpiler_settings.mdx index 4f0f01a9621..d4de796ccfb 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 28d2d25bb7f..2697a290864 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.num_qubits.mdx index 45c3d47382e..09c29ac773f 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.qubit_channels.mdx index 27247380da0..841705d40f7 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(1), MeasureChannel(0), ControlChannel(0), DriveChannel(0), AcquireChannel(0)} ``` diff --git a/docs/api/qiskit/0.36/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.36/qiskit.pulse.builder.transpiler_settings.mdx index 7e5ce00b46d..c01157da084 100644 --- a/docs/api/qiskit/0.36/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.36/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.CNOTDihedral.mdx index c4c54f6c1d0..ae0c08cb004 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.Clifford.mdx index 7554c9dd552..139d6818b39 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.DensityMatrix.mdx index b746385b0d8..04cbd38811c 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.PauliList.mdx index 890906f39f7..596098e841a 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -609,7 +609,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['XZ', 'YI', 'IX', 'YX', 'XX', 'YY', 'II', 'XI', 'ZY', 'ZX', 'XY', 'ZI', 'IY', 'YZ', 'ZZ', 'IZ'] @@ -743,7 +743,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.PauliTable.mdx index 0e651f6d399..969bd94f6ab 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YY', 'XI', 'ZY', 'ZZ', 'XY', 'YX', 'ZX', 'ZI', 'IX', 'II', 'IZ', 'YZ', 'XZ', 'YI', 'XX', 'IY'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerState.mdx index bcc4f08b9ca..48706a91ad2 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerTable.mdx index 8fb8e5e6b03..b9d582ad9b2 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-YI', '-XZ', '+XI', '+XY', '-YZ', '+YX', '-ZI', '+XX', '+IX', '-XI', '+YZ', '-IY', '-XY', '+YY', '-II', '+IY', '-ZZ', '-ZX', '+IZ', '-YX', '-IX', '+ZX', '-YY', '+ZZ', '-IZ', '-ZY', '+ZY', '+XZ', '+II', '-XX', '+ZI', '+YI'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.Statevector.mdx index ac1d4c2f631..53c7db003c3 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.36/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.36/qiskit.quantum_info.hellinger_fidelity.mdx index 233c2f0e57e..9bc6ec43611 100644 --- a/docs/api/qiskit/0.36/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.36/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.999813008489043 ``` diff --git a/docs/api/qiskit/0.36/qpy.mdx b/docs/api/qiskit/0.36/qpy.mdx index 943700b9aa3..4b1e5447a97 100644 --- a/docs/api/qiskit/0.36/qpy.mdx +++ b/docs/api/qiskit/0.36/qpy.mdx @@ -55,7 +55,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -81,7 +81,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -99,7 +99,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -115,7 +115,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -137,7 +137,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -157,7 +157,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -175,7 +175,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -196,7 +196,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -205,7 +205,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -225,7 +225,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -251,7 +251,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -276,7 +276,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -320,7 +320,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -328,7 +328,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -345,7 +345,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -364,7 +364,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -377,7 +377,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -392,7 +392,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -411,7 +411,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -420,7 +420,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -435,7 +435,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.36/transpiler.mdx b/docs/api/qiskit/0.36/transpiler.mdx index 9f189cf1f09..4dc1907be7e 100644 --- a/docs/api/qiskit/0.36/transpiler.mdx +++ b/docs/api/qiskit/0.36/transpiler.mdx @@ -36,7 +36,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -72,7 +72,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 7 ``` @@ -243,7 +243,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 13), ('u2', 1)]) diff --git a/docs/api/qiskit/0.37/circuit.mdx b/docs/api/qiskit/0.37/circuit.mdx index 130da114ecc..c8dbc044188 100644 --- a/docs/api/qiskit/0.37/circuit.mdx +++ b/docs/api/qiskit/0.37/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.37/circuit_library.mdx b/docs/api/qiskit/0.37/circuit_library.mdx index 066ae2387ec..9631db61001 100644 --- a/docs/api/qiskit/0.37/circuit_library.mdx +++ b/docs/api/qiskit/0.37/circuit_library.mdx @@ -50,7 +50,7 @@ print(gate.power(1/2).to_matrix()) # √X gate print(gate.control(1).to_matrix()) # CX (controlled X) gate ``` -```python +``` [[0.+0.j 1.+0.j] [1.+0.j 0.+0.j]] [[0.5+0.5j 0.5-0.5j] @@ -145,7 +145,7 @@ diagonal = Diagonal([1, 1, 1, 1]) print(diagonal.num_qubits) ``` -```python +``` 1 2 ``` @@ -302,7 +302,7 @@ data = Operator(template).data np.allclose(data, identity) # True, template_nct_4b_1 is the identity ``` -```python +``` True ``` diff --git a/docs/api/qiskit/0.37/parallel.mdx b/docs/api/qiskit/0.37/parallel.mdx index cca7176eed2..edf3046e6c2 100644 --- a/docs/api/qiskit/0.37/parallel.mdx +++ b/docs/api/qiskit/0.37/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.37/pulse.mdx b/docs/api/qiskit/0.37/pulse.mdx index e534747cdc4..cb382bc4fe0 100644 --- a/docs/api/qiskit/0.37/pulse.mdx +++ b/docs/api/qiskit/0.37/pulse.mdx @@ -473,7 +473,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -581,7 +581,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -642,7 +642,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx index 9dd2fa28006..79458045811 100644 --- a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx +++ b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx @@ -151,11 +151,11 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -187,7 +187,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3837,7 +3837,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx index 12361276aa5..0d66ac1f02f 100644 --- a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx +++ b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx @@ -32,7 +32,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -174,11 +174,11 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -210,7 +210,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3860,7 +3860,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx index d7bf379d596..7f075659692 100644 --- a/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx +++ b/docs/api/qiskit/0.37/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx @@ -42,7 +42,7 @@ $$ qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -187,11 +187,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -223,7 +223,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3873,7 +3873,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.37/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.37/qiskit.circuit.QuantumCircuit.mdx index 507c13870bf..caf274ddf3e 100644 --- a/docs/api/qiskit/0.37/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.37/qiskit.circuit.QuantumCircuit.mdx @@ -249,11 +249,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -285,7 +285,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3921,7 +3921,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.37/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.37/qiskit.circuit.library.PhaseOracle.mdx index 16def3ccecf..fa2d4ff02ee 100644 --- a/docs/api/qiskit/0.37/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.37/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.37/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.37/qiskit.converters.circuit_to_instruction.mdx index e16c551067e..d1ac996f57a 100644 --- a/docs/api/qiskit/0.37/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.37/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-78', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmaden.mdx index eaef6c7f95b..e541cf8ec5a 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index d22548b73c2..a4bacc17cf5 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonk.mdx index 4004ce4770e..4c038d778e6 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonkV2.mdx index dca6ecd945c..04e4df4b85e 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingen.mdx index f34ef074881..3c41a380aa3 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index a97ba0bba8e..9a92ab3c871 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlington.mdx index 14092a2e9ee..766bd6700ea 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index b3f5b66c0d5..c5694fc4f94 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridge.mdx index b999e749355..0d2d7bae9c1 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 5acd10fdd1a..7ce7b17464e 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssex.mdx index c9ac282820f..b006886ede0 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssexV2.mdx index e307796f27a..12f805cb263 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburg.mdx index fb0d86427b0..796f20b0ca6 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index b7a49b97528..3b47ae3cd55 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondon.mdx index 606c9f242cb..8cbd87d31d7 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondonV2.mdx index a0dd3ec329c..ec366f1f3f0 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeMelbourne.mdx index b4e0ea85467..a9cbada3dfc 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurense.mdx index 544f235e1b9..34e3f9a7a68 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurenseV2.mdx index f9a6b328c6d..c43ce8135bd 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParis.mdx index 22bc06b31fc..fb6ef2e4219 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParisV2.mdx index 7a230c462d7..1057132b590 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index ee818ab4244..b976a5c0d24 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 36e7ef6f8d2..49f61b6127b 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingapore.mdx index 3eaad37628d..e22eba88807 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index a27dd1ca7dd..1d6f78ce479 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTenerife.mdx index bce4bf86d01..bd795a46ced 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTokyo.mdx index 8a91de4bacc..c48a09b34f9 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigo.mdx index 6c1fcb96606..45c0977c773 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigoV2.mdx index 4d1ddd24f2e..adecfb27cbd 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktown.mdx index e94de534d86..bafd79d7019 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 6e4080f3220..bd9022e28ab 100644 --- a/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.37/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 98de5d81960..276e87c126f 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.active_transpiler_settings.mdx index 0263d37ab3f..49bc927e8c1 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.circuit_scheduler_settings.mdx index e0d932e9236..d303d14864f 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.num_qubits.mdx index db43fff4fde..01cf0f87281 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.qubit_channels.mdx index cae0d079e1e..159f5c39ff1 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {AcquireChannel(0), DriveChannel(0), ControlChannel(0), MeasureChannel(0), ControlChannel(1)} ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.37/qiskit.pulse.builder.transpiler_settings.mdx index f884881c749..5191c7609d3 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.library.sawtooth.mdx b/docs/api/qiskit/0.37/qiskit.pulse.library.sawtooth.mdx index 40b84b1c592..1605e9098ed 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.library.sawtooth.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.library.sawtooth.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.37/qiskit.pulse.library.triangle.mdx b/docs/api/qiskit/0.37/qiskit.pulse.library.triangle.mdx index 5a5e81e3ce1..95626d3513b 100644 --- a/docs/api/qiskit/0.37/qiskit.pulse.library.triangle.mdx +++ b/docs/api/qiskit/0.37/qiskit.pulse.library.triangle.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.CNOTDihedral.mdx index 89e5fd458d8..bd08092f0f2 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.Clifford.mdx index 752b6d0426d..f5815dfe1fb 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.DensityMatrix.mdx index 9aa2ab5282e..83cc6faf533 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.PauliList.mdx index a9a7933f78e..384ecc3162d 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -640,7 +640,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['YX', 'ZX', 'YY', 'IY', 'YI', 'YZ', 'IX', 'XX', 'ZZ', 'IZ', 'XZ', 'II', 'ZY', 'XY', 'ZI', 'XI'] @@ -774,7 +774,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.PauliTable.mdx index cf9afddc2b8..153edc61d79 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YY', 'ZX', 'IY', 'ZY', 'YX', 'XY', 'YI', 'ZZ', 'XX', 'XI', 'II', 'YZ', 'XZ', 'IX', 'IZ', 'ZI'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerState.mdx index 48ef1a57cba..f0210be5a14 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerTable.mdx index 6db2cf1c975..2a8bfc9664c 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+XI', '-IY', '+IY', '+YX', '+ZX', '-XX', '+XY', '+ZZ', '+XX', '-XY', '-ZZ', '-IZ', '-ZX', '-ZI', '+ZI', '+IX', '-ZY', '+YI', '-XI', '+II', '-XZ', '-IX', '+IZ', '-YY', '+YZ', '-YZ', '+XZ', '-II', '+ZY', '-YI', '-YX', '+YY'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.Statevector.mdx index 7b0e0afde2f..00640980835 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.37/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.37/qiskit.quantum_info.hellinger_fidelity.mdx index a8615b491a9..a0537215473 100644 --- a/docs/api/qiskit/0.37/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.37/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9984728082896873 ``` diff --git a/docs/api/qiskit/0.37/qpy.mdx b/docs/api/qiskit/0.37/qpy.mdx index a6b217d3b34..ade067554ce 100644 --- a/docs/api/qiskit/0.37/qpy.mdx +++ b/docs/api/qiskit/0.37/qpy.mdx @@ -57,7 +57,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -85,7 +85,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -129,7 +129,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -186,7 +186,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -202,7 +202,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -224,7 +224,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -242,7 +242,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -250,7 +250,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -265,7 +265,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -288,7 +288,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -318,7 +318,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -336,7 +336,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -352,7 +352,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -374,7 +374,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -394,7 +394,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -412,7 +412,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -433,7 +433,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -442,7 +442,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -462,7 +462,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -488,7 +488,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -513,7 +513,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -557,7 +557,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -565,7 +565,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -586,7 +586,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -605,7 +605,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -618,7 +618,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -633,7 +633,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -652,7 +652,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -661,7 +661,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -676,7 +676,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.37/transpiler.mdx b/docs/api/qiskit/0.37/transpiler.mdx index 2c90acb4754..a59a86413f4 100644 --- a/docs/api/qiskit/0.37/transpiler.mdx +++ b/docs/api/qiskit/0.37/transpiler.mdx @@ -38,7 +38,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -76,7 +76,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 10 ``` @@ -247,7 +247,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 16), ('u2', 1)]) diff --git a/docs/api/qiskit/0.38/circuit.mdx b/docs/api/qiskit/0.38/circuit.mdx index eec212bbe44..22834a6f60e 100644 --- a/docs/api/qiskit/0.38/circuit.mdx +++ b/docs/api/qiskit/0.38/circuit.mdx @@ -111,7 +111,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -121,7 +121,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -135,7 +135,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -145,7 +145,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -161,7 +161,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.38/circuit_library.mdx b/docs/api/qiskit/0.38/circuit_library.mdx index ce7ad3cb35c..8c81dc4e8ff 100644 --- a/docs/api/qiskit/0.38/circuit_library.mdx +++ b/docs/api/qiskit/0.38/circuit_library.mdx @@ -50,7 +50,7 @@ print(gate.power(1/2).to_matrix()) # √X gate print(gate.control(1).to_matrix()) # CX (controlled X) gate ``` -```python +``` [[0.+0.j 1.+0.j] [1.+0.j 0.+0.j]] [[0.5+0.5j 0.5-0.5j] @@ -145,7 +145,7 @@ diagonal = Diagonal([1, 1, 1, 1]) print(diagonal.num_qubits) ``` -```python +``` 1 2 ``` @@ -302,7 +302,7 @@ data = Operator(template).data np.allclose(data, identity) # True, template_nct_4b_1 is the identity ``` -```python +``` True ``` diff --git a/docs/api/qiskit/0.38/parallel.mdx b/docs/api/qiskit/0.38/parallel.mdx index b6741bda4b5..67c0fbfa77c 100644 --- a/docs/api/qiskit/0.38/parallel.mdx +++ b/docs/api/qiskit/0.38/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.38/pulse.mdx b/docs/api/qiskit/0.38/pulse.mdx index 48fe1dc8116..0268d94eef9 100644 --- a/docs/api/qiskit/0.38/pulse.mdx +++ b/docs/api/qiskit/0.38/pulse.mdx @@ -473,7 +473,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -581,7 +581,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -642,7 +642,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx index 8d7b9507bba..0a28c457503 100644 --- a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx +++ b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx @@ -151,11 +151,11 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -187,7 +187,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3691,7 +3691,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx index ab2fb0a1b35..9cb1221233c 100644 --- a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx +++ b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx @@ -32,7 +32,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -174,11 +174,11 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -210,7 +210,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3714,7 +3714,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx index 1d9f9124265..c7b71fe378f 100644 --- a/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx +++ b/docs/api/qiskit/0.38/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx @@ -42,7 +42,7 @@ $$ qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -187,11 +187,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -223,7 +223,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3727,7 +3727,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.nlopts.mdx b/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.nlopts.mdx index 921ba5898ce..f4d16120636 100644 --- a/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.nlopts.mdx +++ b/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.nlopts.mdx @@ -22,7 +22,7 @@ If you running on Windows, then you might want to refer to the specific [instruc If you are running on a Unix-like system, first ensure that your environment is set to the Python executable for which the Qiskit package is installed and running. Now, having downloaded and unpacked the NLopt archive file (for example, `nlopt-2.4.2.tar.gz` for version 2.4.2), enter the following commands: -```python +```sh ./configure --enable-shared --with-python make sudo make install @@ -30,7 +30,7 @@ sudo make install The above makes and installs the shared libraries and Python interface in /usr/local. To have these be used by Qiskit, the following commands can be entered to augment the dynamic library load path and python path respectively, assuming that you choose to leave these entities where they were built and installed as per above commands and that you are running Python 3.6: -```python +```sh export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64 export PYTHONPATH=/usr/local/lib/python3.6/site-packages:${PYTHONPATH} ``` diff --git a/docs/api/qiskit/0.38/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.38/qiskit.circuit.QuantumCircuit.mdx index b10c2f4783b..fb74a009d58 100644 --- a/docs/api/qiskit/0.38/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.38/qiskit.circuit.QuantumCircuit.mdx @@ -249,11 +249,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -285,7 +285,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3775,7 +3775,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.38/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.38/qiskit.circuit.library.PhaseOracle.mdx index 16def3ccecf..fa2d4ff02ee 100644 --- a/docs/api/qiskit/0.38/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.38/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.38/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.38/qiskit.converters.circuit_to_instruction.mdx index e16c551067e..d1ac996f57a 100644 --- a/docs/api/qiskit/0.38/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.38/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-78', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmaden.mdx index eaef6c7f95b..e541cf8ec5a 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index d22548b73c2..a4bacc17cf5 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonk.mdx index 4004ce4770e..4c038d778e6 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonkV2.mdx index dca6ecd945c..04e4df4b85e 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingen.mdx index f34ef074881..3c41a380aa3 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index a97ba0bba8e..9a92ab3c871 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlington.mdx index 14092a2e9ee..766bd6700ea 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index b3f5b66c0d5..c5694fc4f94 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridge.mdx index b999e749355..0d2d7bae9c1 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 5acd10fdd1a..7ce7b17464e 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssex.mdx index c9ac282820f..b006886ede0 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssexV2.mdx index e307796f27a..12f805cb263 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburg.mdx index fb0d86427b0..796f20b0ca6 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index b7a49b97528..3b47ae3cd55 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondon.mdx index 606c9f242cb..8cbd87d31d7 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondonV2.mdx index a0dd3ec329c..ec366f1f3f0 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeMelbourne.mdx index b4e0ea85467..a9cbada3dfc 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurense.mdx index 544f235e1b9..34e3f9a7a68 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurenseV2.mdx index f9a6b328c6d..c43ce8135bd 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParis.mdx index 22bc06b31fc..fb6ef2e4219 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParisV2.mdx index 7a230c462d7..1057132b590 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index ee818ab4244..b976a5c0d24 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 36e7ef6f8d2..49f61b6127b 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingapore.mdx index 3eaad37628d..e22eba88807 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index a27dd1ca7dd..1d6f78ce479 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTenerife.mdx index bce4bf86d01..bd795a46ced 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTokyo.mdx index 8a91de4bacc..c48a09b34f9 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigo.mdx index 6c1fcb96606..45c0977c773 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigoV2.mdx index 4d1ddd24f2e..adecfb27cbd 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktown.mdx index e94de534d86..bafd79d7019 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 6e4080f3220..bd9022e28ab 100644 --- a/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.38/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index 98de5d81960..276e87c126f 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.active_transpiler_settings.mdx index 0263d37ab3f..49bc927e8c1 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.circuit_scheduler_settings.mdx index e0d932e9236..d303d14864f 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.num_qubits.mdx index db43fff4fde..01cf0f87281 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.qubit_channels.mdx index bcbe9d76327..62ce16f8490 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {MeasureChannel(0), ControlChannel(1), ControlChannel(0), DriveChannel(0), AcquireChannel(0)} ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.38/qiskit.pulse.builder.transpiler_settings.mdx index f884881c749..5191c7609d3 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.library.sawtooth.mdx b/docs/api/qiskit/0.38/qiskit.pulse.library.sawtooth.mdx index b7e92f3a892..1c9437c0669 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.library.sawtooth.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.library.sawtooth.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.38/qiskit.pulse.library.triangle.mdx b/docs/api/qiskit/0.38/qiskit.pulse.library.triangle.mdx index 4109b5b49ff..31c04f82162 100644 --- a/docs/api/qiskit/0.38/qiskit.pulse.library.triangle.mdx +++ b/docs/api/qiskit/0.38/qiskit.pulse.library.triangle.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.CNOTDihedral.mdx index 89e5fd458d8..bd08092f0f2 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.Clifford.mdx index 752b6d0426d..f5815dfe1fb 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.stabilizer) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] StabilizerTable: ['+IZ', '+XI'] StabilizerTable: ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.DensityMatrix.mdx index 9aa2ab5282e..83cc6faf533 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.PauliList.mdx index 83a36669d04..d9495e0c790 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -640,7 +640,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['II', 'ZX', 'IZ', 'YX', 'ZY', 'XX', 'ZZ', 'XZ', 'ZI', 'YY', 'IY', 'YZ', 'XY', 'YI', 'IX', 'XI'] @@ -774,7 +774,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.PauliTable.mdx index 544177b1ec5..b33f12b9eea 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YZ', 'IX', 'IY', 'YX', 'ZY', 'IZ', 'XZ', 'YY', 'II', 'YI', 'XI', 'ZX', 'XY', 'ZZ', 'XX', 'ZI'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerState.mdx index 48ef1a57cba..f0210be5a14 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerTable.mdx index b4704cb4480..539ce163e84 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['-ZY', '-YY', '+ZX', '+II', '-IX', '-ZZ', '+YX', '+XI', '+YY', '-XY', '+IZ', '-ZI', '+XZ', '-YZ', '+ZY', '-XX', '+YI', '-II', '+IY', '-YX', '-XZ', '+IX', '-IY', '+ZZ', '-XI', '-IZ', '-YI', '+XX', '+XY', '-ZX', '+YZ', '+ZI'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.Statevector.mdx index 7b0e0afde2f..00640980835 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.38/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.38/qiskit.quantum_info.hellinger_fidelity.mdx index c52af38e5e3..3338e2aeb26 100644 --- a/docs/api/qiskit/0.38/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.38/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.9998127941270056 ``` diff --git a/docs/api/qiskit/0.38/qiskit_aer.quantum_info.AerStatevector.mdx b/docs/api/qiskit/0.38/qiskit_aer.quantum_info.AerStatevector.mdx index 76f1b1c0ca5..2d6bd239f61 100644 --- a/docs/api/qiskit/0.38/qiskit_aer.quantum_info.AerStatevector.mdx +++ b/docs/api/qiskit/0.38/qiskit_aer.quantum_info.AerStatevector.mdx @@ -400,7 +400,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -423,7 +423,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -622,7 +622,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -639,7 +639,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -656,7 +656,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.38/qpy.mdx b/docs/api/qiskit/0.38/qpy.mdx index a6b217d3b34..ade067554ce 100644 --- a/docs/api/qiskit/0.38/qpy.mdx +++ b/docs/api/qiskit/0.38/qpy.mdx @@ -57,7 +57,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -85,7 +85,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -129,7 +129,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -186,7 +186,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -202,7 +202,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -224,7 +224,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -242,7 +242,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -250,7 +250,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -265,7 +265,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -288,7 +288,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -318,7 +318,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -336,7 +336,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -352,7 +352,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -374,7 +374,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -394,7 +394,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -412,7 +412,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -433,7 +433,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -442,7 +442,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -462,7 +462,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -488,7 +488,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -513,7 +513,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -557,7 +557,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -565,7 +565,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -586,7 +586,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -605,7 +605,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -618,7 +618,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -633,7 +633,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -652,7 +652,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -661,7 +661,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -676,7 +676,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.38/transpiler.mdx b/docs/api/qiskit/0.38/transpiler.mdx index 965fb4b4a2f..1c6a40452f4 100644 --- a/docs/api/qiskit/0.38/transpiler.mdx +++ b/docs/api/qiskit/0.38/transpiler.mdx @@ -38,7 +38,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -76,7 +76,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 10 ``` @@ -247,7 +247,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 19), ('u2', 1)]) diff --git a/docs/api/qiskit/0.39/circuit.mdx b/docs/api/qiskit/0.39/circuit.mdx index dd5a1d86a25..e7caf4ec340 100644 --- a/docs/api/qiskit/0.39/circuit.mdx +++ b/docs/api/qiskit/0.39/circuit.mdx @@ -79,7 +79,7 @@ counts = backend.run(tqc).result().get_counts() print(counts) ``` -```python +``` {'1': 500, '0': 524} ``` @@ -101,7 +101,7 @@ counts = backend.run(tqc).result().get_counts() print(counts) ``` -```python +``` {'1': 1024} ``` @@ -164,7 +164,7 @@ From the plot, it is easy to see that this circuit has 12 qubits, and a collecti qc.width() ``` -```python +``` 12 ``` @@ -174,7 +174,7 @@ We can also just get the number of qubits directly: qc.num_qubits ``` -```python +``` 12 ``` @@ -188,7 +188,7 @@ It is also straightforward to get the number and type of the gates in a circuit qc.count_ops() ``` -```python +``` OrderedDict([('cx', 8), ('h', 5), ('x', 3), ('swap', 3)]) ``` @@ -198,7 +198,7 @@ We can also get just the raw count of operations by computing the circuits [`Qua qc.size() ``` -```python +``` 19 ``` @@ -214,7 +214,7 @@ We can verify our graphical result using [`QuantumCircuit.depth()`](qiskit.circu qc.depth() ``` -```python +``` 9 ``` diff --git a/docs/api/qiskit/0.39/circuit_library.mdx b/docs/api/qiskit/0.39/circuit_library.mdx index 218b8af1528..d4db6d705cd 100644 --- a/docs/api/qiskit/0.39/circuit_library.mdx +++ b/docs/api/qiskit/0.39/circuit_library.mdx @@ -50,7 +50,7 @@ print(gate.power(1/2).to_matrix()) # √X gate print(gate.control(1).to_matrix()) # CX (controlled X) gate ``` -```python +``` [[0.+0.j 1.+0.j] [1.+0.j 0.+0.j]] [[0.5+0.5j 0.5-0.5j] @@ -148,7 +148,7 @@ diagonal = Diagonal([1, 1, 1, 1]) print(diagonal.num_qubits) ``` -```python +``` 1 2 ``` @@ -305,7 +305,7 @@ data = Operator(template).data np.allclose(data, identity) # True, template_nct_4b_1 is the identity ``` -```python +``` True ``` diff --git a/docs/api/qiskit/0.39/parallel.mdx b/docs/api/qiskit/0.39/parallel.mdx index b6741bda4b5..67c0fbfa77c 100644 --- a/docs/api/qiskit/0.39/parallel.mdx +++ b/docs/api/qiskit/0.39/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.39/pulse.mdx b/docs/api/qiskit/0.39/pulse.mdx index 3eaeef5dd7c..4ee5b7259e4 100644 --- a/docs/api/qiskit/0.39/pulse.mdx +++ b/docs/api/qiskit/0.39/pulse.mdx @@ -493,7 +493,7 @@ with pulse.build(backend) as drive_sched: print(d0) ``` -```python +``` DriveChannel(0) ``` @@ -600,7 +600,7 @@ with pulse.build(backend) as measure_sched: print(mem_slot) ``` -```python +``` MemorySlot(0) ``` @@ -661,7 +661,7 @@ with pulse.build(backend) as u3_sched: seconds, pulse.seconds_to_samples(1e-6))) ``` -```python +``` Number of qubits in backend: 1 There are 160 samples in 3.5555555555555554e-08 seconds There are 1e-06 seconds in 4500 samples. diff --git a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx index 29cf4ca2600..26621afe5ed 100644 --- a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx +++ b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.LinearSystemMatrix.mdx @@ -151,11 +151,11 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -187,7 +187,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3775,7 +3775,7 @@ python_api_name: qiskit.algorithms.linear_solvers.LinearSystemMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx index f25394faad6..87e378b7984 100644 --- a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx +++ b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.NumPyMatrix.mdx @@ -35,7 +35,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -177,11 +177,11 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -213,7 +213,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3801,7 +3801,7 @@ python_api_name: qiskit.algorithms.linear_solvers.NumPyMatrix print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx index 5435f8a2f3b..ab347a8ec31 100644 --- a/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx +++ b/docs/api/qiskit/0.39/qiskit.algorithms.linear_solvers.TridiagonalToeplitz.mdx @@ -45,7 +45,7 @@ $$ qc.append(matrix.power(power).control(), list(range(circ_qubits))) ``` - ```python + ``` ``` @@ -190,11 +190,11 @@ $$ print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -226,7 +226,7 @@ $$ print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3814,7 +3814,7 @@ $$ print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.39/qiskit.circuit.QuantumCircuit.mdx b/docs/api/qiskit/0.39/qiskit.circuit.QuantumCircuit.mdx index b90972271e3..4b179f26bc4 100644 --- a/docs/api/qiskit/0.39/qiskit.circuit.QuantumCircuit.mdx +++ b/docs/api/qiskit/0.39/qiskit.circuit.QuantumCircuit.mdx @@ -249,11 +249,11 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Original circuit: ``` - ```python + ``` ┌───────┐ q_0: ┤ Ry(A) ├────■──── └───────┘┌───┴───┐ @@ -285,7 +285,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(circuit.draw()) ``` - ```python + ``` Bound circuit: ┌───────┐ q_0: ┤ Ry(1) ├────■──── @@ -3859,7 +3859,7 @@ python_api_name: qiskit.circuit.QuantumCircuit print(tensored.draw()) ``` - ```python + ``` ┌───┐ q_0: ───┤ X ├─── └───┘ diff --git a/docs/api/qiskit/0.39/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.39/qiskit.circuit.library.PhaseOracle.mdx index 75168b051c1..3175778b5f0 100644 --- a/docs/api/qiskit/0.39/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.39/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.39/qiskit.converters.circuit_to_instruction.mdx b/docs/api/qiskit/0.39/qiskit.converters.circuit_to_instruction.mdx index d327f934ab9..71d2717e280 100644 --- a/docs/api/qiskit/0.39/qiskit.converters.circuit_to_instruction.mdx +++ b/docs/api/qiskit/0.39/qiskit.converters.circuit_to_instruction.mdx @@ -50,7 +50,7 @@ python_api_name: qiskit.converters.circuit_to_instruction circuit_to_instruction(circ) ``` - ```python + ``` Instruction(name='circuit-85', num_qubits=3, num_clbits=3, params=[]) ``` diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmaden.mdx index 743bc199e5e..436474f6d78 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index 5902022dc39..8fa388b59ea 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonk.mdx index 6df884ad688..3ab8b40c487 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 0253353e896..b8002638d2b 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 2dbe4e03b8d..2cd96316aa0 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index ddacfee43cb..16630e7761f 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlington.mdx index bfd00964a82..565d58a5816 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 1377a518d3e..2300aa35f34 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridge.mdx index fde5cfa7bcb..25b566cb511 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 69dcd516d9f..a1923d7b851 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssex.mdx index 97c55e6d215..ea06caef111 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssexV2.mdx index 541aefa7dc2..17cf34a16c2 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburg.mdx index 69ecb6d1293..24a1509e245 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index f28d96213ed..353f031c1c0 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondon.mdx index 1e8aa1e18d6..8efec78f835 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondonV2.mdx index 7f9817893e5..3b76851f44f 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeMelbourne.mdx index 18de27724fe..40b8dd2f2e5 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurense.mdx index a7a1aceb04d..d8102cb3b2e 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 050e9af3768..645567cc9f4 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParis.mdx index 398e480745d..236dd022581 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParisV2.mdx index a30145f82f0..d6ee78a9f89 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 2e410345727..e89fb6bb15b 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeRueschlikon.mdx index e990db596f7..6606d376aba 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingapore.mdx index 71e7a30fceb..9c837adbc07 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 40d63beb519..4d47ebdd77c 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTenerife.mdx index 1bcc48fc3de..f7a52c427ac 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTokyo.mdx index eb837c1c206..ad8656efae9 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigo.mdx index 4094f545e77..5e9858ddce8 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigoV2.mdx index e8f62c8e639..1bd40aa48af 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktown.mdx index 0ab414d0491..6d95e926558 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktownV2.mdx index f13e035ac89..d22f9bcbbc3 100644 --- a/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.39/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.39/qiskit.pulse.ScheduleBlock.mdx b/docs/api/qiskit/0.39/qiskit.pulse.ScheduleBlock.mdx index 1351da52231..d24067252e9 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.ScheduleBlock.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.ScheduleBlock.mdx @@ -53,7 +53,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(sched1.scoped_parameters()) ``` - ```python + ``` (Parameter(root::amp),) ``` @@ -72,7 +72,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(sched2.scoped_parameters()) ``` - ```python + ``` (Parameter(root::amp),) ``` @@ -83,7 +83,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(sched2.scoped_parameters()) ``` - ```python + ``` (Parameter(root::amp), Parameter(root::grand_child::amp)) ``` @@ -93,7 +93,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(sched2.references) ``` - ```python + ``` ReferenceManager: - ('grand_child',): ScheduleBlock(Play(Constant(duration=100, amp=amp)... ``` @@ -110,7 +110,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(main.scoped_parameters()) ``` - ```python + ``` (Parameter(root::amp), Parameter(root::child::amp), Parameter(root::child::grand_child::amp)) ``` @@ -120,7 +120,7 @@ python_api_name: qiskit.pulse.ScheduleBlock main.search_parameters("root::child::grand_child::amp") ``` - ```python + ``` [Parameter(root::child::grand_child::amp)] ``` @@ -130,7 +130,7 @@ python_api_name: qiskit.pulse.ScheduleBlock main.search_parameters("\S::grand_child::amp") ``` - ```python + ``` [Parameter(root::child::grand_child::amp)] ``` @@ -140,7 +140,7 @@ python_api_name: qiskit.pulse.ScheduleBlock print(main.references) ``` - ```python + ``` ReferenceManager: - ('child',): ScheduleBlock(ScheduleBlock(ScheduleBlock(Play(Con... ``` @@ -151,7 +151,7 @@ python_api_name: qiskit.pulse.ScheduleBlock main.references[("child", )].references[("grand_child", )] ``` - ```python + ``` ScheduleBlock(Play(Constant(duration=100, amp=amp), DriveChannel(0)), name="block0", transform=AlignLeft()) ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx index dc080a9deb0..260fad4c3a6 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.active_circuit_scheduler_settings.mdx @@ -29,7 +29,7 @@ python_api_name: qiskit.pulse.builder.active_circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.active_transpiler_settings.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.active_transpiler_settings.mdx index 803b547ece7..293e6d86857 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.active_transpiler_settings.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.active_transpiler_settings.mdx @@ -28,7 +28,7 @@ python_api_name: qiskit.pulse.builder.active_transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.call.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.call.mdx index ed197af416c..db41cbe2630 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.call.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.call.mdx @@ -36,7 +36,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog) ``` - ```python + ``` ScheduleBlock(ScheduleBlock(Play(Gaussian(duration=160, amp=(0.1+0j), sigma=40), DriveChannel(0)), name="block0", transform=AlignLeft()), name="block1", transform=AlignLeft()) ``` @@ -46,7 +46,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog.references) ``` - ```python + ``` ReferenceManager: - ('block0', '582c571bb77a4bc4ae4573e68a72f32e'): ScheduleBlock(Play(Gaussian(duration=160, amp=(0.1... ``` @@ -66,7 +66,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog) ``` - ```python + ``` ScheduleBlock(ScheduleBlock(Play(Gaussian(duration=160, amp=(0.1+0j), sigma=40), DriveChannel(0)), name="block2", transform=AlignLeft()), ScheduleBlock(Play(Gaussian(duration=160, amp=(0.3+0j), sigma=40), DriveChannel(0)), name="block2", transform=AlignLeft()), name="block3", transform=AlignLeft()) ``` @@ -86,7 +86,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog) ``` - ```python + ``` ScheduleBlock(ScheduleBlock(Play(Gaussian(duration=160, amp=(0.1+0j), sigma=40), DriveChannel(0)), Play(Gaussian(duration=160, amp=(0.3+0j), sigma=40), DriveChannel(1)), name="block4", transform=AlignLeft()), name="block5", transform=AlignLeft()) ``` @@ -101,7 +101,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog) ``` - ```python + ``` ScheduleBlock(Call(Schedule((0, Play(Drag(duration=160, amp=(0.18989731546729305+0j), sigma=40, beta=-1.201258305015517, name='drag_86a8'), DriveChannel(0), name='drag_86a8')), name="x"), name='x'), name="block6", transform=AlignLeft()) ``` @@ -121,7 +121,7 @@ python_api_name: qiskit.pulse.builder.call print(pulse_prog) ``` - ```python + ``` ScheduleBlock(Call(Schedule((0, Play(Drag(duration=160, amp=(0.18989731546729305+0j), sigma=40, beta=-1.201258305015517, name='drag_86a8'), DriveChannel(0), name='drag_86a8')), name="circuit-87"), name='circuit-87'), name="block7", transform=AlignLeft()) ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.circuit_scheduler_settings.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.circuit_scheduler_settings.mdx index 7035cbb791b..1c257d01950 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.circuit_scheduler_settings.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.circuit_scheduler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.circuit_scheduler_settings print(pulse.active_circuit_scheduler_settings()) ``` - ```python + ``` {} {'method': 'alap'} ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.num_qubits.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.num_qubits.mdx index 298bd4f354a..30fc6d41de3 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.num_qubits.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.num_qubits.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.num_qubits print(pulse.num_qubits()) ``` - ```python + ``` 2 ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.qubit_channels.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.qubit_channels.mdx index cf3a3e7948d..cc0175953bb 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.qubit_channels.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.qubit_channels.mdx @@ -25,7 +25,7 @@ python_api_name: qiskit.pulse.builder.qubit_channels print(pulse.qubit_channels(0)) ``` - ```python + ``` {ControlChannel(0), DriveChannel(0), MeasureChannel(0), AcquireChannel(0), ControlChannel(1)} ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.builder.transpiler_settings.mdx b/docs/api/qiskit/0.39/qiskit.pulse.builder.transpiler_settings.mdx index 851912bbabb..39bebd0998e 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.builder.transpiler_settings.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.builder.transpiler_settings.mdx @@ -27,7 +27,7 @@ python_api_name: qiskit.pulse.builder.transpiler_settings print(pulse.active_transpiler_settings()) ``` - ```python + ``` {} {'optimization_level': 3} ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.library.sawtooth.mdx b/docs/api/qiskit/0.39/qiskit.pulse.library.sawtooth.mdx index 31c3b7b33ad..9f5bd9f85a1 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.library.sawtooth.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.library.sawtooth.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), sawtooth_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.39/qiskit.pulse.library.triangle.mdx b/docs/api/qiskit/0.39/qiskit.pulse.library.triangle.mdx index 89a75459296..6f99974d63c 100644 --- a/docs/api/qiskit/0.39/qiskit.pulse.library.triangle.mdx +++ b/docs/api/qiskit/0.39/qiskit.pulse.library.triangle.mdx @@ -43,7 +43,7 @@ $$ plt.plot(range(duration), triangle_wave) ``` - ```python + ``` [] ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.CNOTDihedral.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.CNOTDihedral.mdx index 0fe2b10862c..7ff0091842d 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.CNOTDihedral.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.CNOTDihedral.mdx @@ -39,7 +39,7 @@ python_api_name: qiskit.quantum_info.CNOTDihedral > print(elem) > ``` > - > ```python + > ``` > phase polynomial = > 0 + 3*x_0 + 3*x_1 + 2*x_0*x_1 > affine function = diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.Clifford.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.Clifford.mdx index f6f6d2d3cf5..51b3d879cf9 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.Clifford.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.Clifford.mdx @@ -44,7 +44,7 @@ python_api_name: qiskit.quantum_info.Clifford print(cliff.to_labels(mode="S")) ``` - ```python + ``` Clifford: Stabilizer = ['+XX', '+ZZ'], Destabilizer = ['+IZ', '+XI'] ['+IZ', '+XI'] ['+XX', '+ZZ'] diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.DensityMatrix.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.DensityMatrix.mdx index 80bb8051b66..e06446fd48e 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.DensityMatrix.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.DensityMatrix.mdx @@ -325,7 +325,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -348,7 +348,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -547,7 +547,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.4999999999999999+0j), '10|00': (-0.4999999999999999-0j), '00|10': (-0.4999999999999999+0j), '10|10': (0.4999999999999999+0j)} ``` @@ -566,7 +566,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.25+0j), '10|10': (0.25+0j), '20|20': (0.25+0j), '22|22': (0.25+0j)} ``` @@ -583,7 +583,7 @@ python_api_name: qiskit.quantum_info.DensityMatrix print(rho.to_dict()) ``` - ```python + ``` {'00|00': (0.5+0j), '91|91': (0.5+0j)} ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.PauliList.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.PauliList.mdx index e162ab4af96..d8704fdcfb9 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.PauliList.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.PauliList.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.quantum_info.PauliList print("4. ", pauli_list) ``` - ```python + ``` 1. ['II', 'ZI', '-iYY'] 2. ['iXI'] 3. ['iXI', 'iZZ'] @@ -77,7 +77,7 @@ python_api_name: qiskit.quantum_info.PauliList print("Slice: ", repr(pauli_list[0:2])) ``` - ```python + ``` Integer: Pauli('ZZ') List: PauliList(['XX', 'IZ']) Slice: PauliList(['XX', 'ZZ']) @@ -640,7 +640,7 @@ python_api_name: qiskit.quantum_info.PauliList print(srt) ``` - ```python + ``` Initial Ordering ['ZX', 'ZI', 'XI', 'IX', 'ZY', 'XX', 'YY', 'YX', 'XY', 'XZ', 'YZ', 'IZ', 'IY', 'II', 'YI', 'ZZ'] @@ -774,7 +774,7 @@ python_api_name: qiskit.quantum_info.PauliList print(unique) ``` - ```python + ``` ['X', 'Y', '-X', 'I', 'Z', 'iZ'] ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.PauliTable.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.PauliTable.mdx index b8e903f0f92..6bd26ee02c4 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.PauliTable.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.PauliTable.mdx @@ -201,7 +201,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -286,7 +286,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` PauliTable: ['Y', 'Z', 'Z', 'Y'] ``` @@ -327,7 +327,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` PauliTable: ['YI', 'YX', 'ZI', 'ZX'] ``` @@ -544,7 +544,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering PauliTable: ['YZ', 'ZZ', 'ZI', 'YI', 'ZX', 'IY', 'IX', 'YY', 'XZ', 'XY', 'II', 'ZY', 'IZ', 'YX', 'XI', 'XX'] Lexicographically sorted @@ -585,7 +585,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` PauliTable: ['IY', 'IZ', 'XY', 'XZ'] ``` @@ -690,7 +690,7 @@ $$ print(unique) ``` - ```python + ``` PauliTable: ['X', 'Y', 'I', 'Z'] ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.SparsePauliOp.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.SparsePauliOp.mdx index 9ca66559d4e..e8ab0a3a615 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.SparsePauliOp.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.SparsePauliOp.mdx @@ -118,7 +118,7 @@ python_api_name: qiskit.quantum_info.SparsePauliOp print(srt) ``` - ```python + ``` Initial Ordering SparsePauliOp(['XX', 'XX', 'XX', 'YI', 'II', 'XZ', 'XY', 'XI'], coeffs=[2.+1.j, 2.+2.j, 3.+0.j, 3.+0.j, 4.+0.j, 5.+0.j, 6.+0.j, 7.+0.j]) @@ -624,7 +624,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering SparsePauliOp(['XX', 'XX', 'XX', 'YI', 'II', 'XZ', 'XY', 'XI'], coeffs=[2.+1.j, 2.+2.j, 3.+0.j, 3.+0.j, 4.+0.j, 5.+0.j, 6.+0.j, 7.+0.j]) diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerState.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerState.mdx index 2a2af295432..5384f01db98 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerState.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerState.mdx @@ -33,7 +33,7 @@ python_api_name: qiskit.quantum_info.StabilizerState print (stab.expectation_value(Pauli('ZZ'))) ``` - ```python + ``` StabilizerState(StabilizerTable: ['+XX', '+ZZ']) {'00': 0.5, '11': 0.5} 1 diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerTable.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerTable.mdx index 99760048cf7..7435784953f 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerTable.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.StabilizerTable.mdx @@ -225,7 +225,7 @@ $$ print(current.compose(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '-Y'] ``` @@ -319,7 +319,7 @@ $$ print(current.dot(other)) ``` - ```python + ``` StabilizerTable: ['+X', '-Z', '-I', '+Y'] ``` @@ -360,7 +360,7 @@ $$ print(current.expand(other)) ``` - ```python + ``` StabilizerTable: ['-YI', '+YX', '+ZI', '-ZX'] ``` @@ -591,7 +591,7 @@ $$ print(srt) ``` - ```python + ``` Initial Ordering StabilizerTable: ['+II', '-XX', '+ZX', '-YX', '+XI', '-ZI', '-YI', '+IZ', '-ZY', '-XY', '-ZX', '+YI', '-IY', '+YY', '+ZY', '+ZI', '+XZ', '+IX', '+XX', '+IY', '-XZ', '-IX', '+YZ', '-IZ', '-II', '-YY', '+XY', '+ZZ', '+YX', '-XI', '-ZZ', '-YZ'] Lexicographically sorted @@ -632,7 +632,7 @@ $$ print(current.tensor(other)) ``` - ```python + ``` StabilizerTable: ['-IY', '+IZ', '+XY', '-XZ'] ``` @@ -745,7 +745,7 @@ $$ print(unique) ``` - ```python + ``` StabilizerTable: ['+X', '+I', '-I', '-X'] ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.Statevector.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.Statevector.mdx index 76545efde18..308c5e28176 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.Statevector.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.Statevector.mdx @@ -394,7 +394,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -417,7 +417,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -616,7 +616,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -633,7 +633,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -650,7 +650,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.39/qiskit.quantum_info.hellinger_fidelity.mdx b/docs/api/qiskit/0.39/qiskit.quantum_info.hellinger_fidelity.mdx index daaf0a4ed6b..e5e1f06c712 100644 --- a/docs/api/qiskit/0.39/qiskit.quantum_info.hellinger_fidelity.mdx +++ b/docs/api/qiskit/0.39/qiskit.quantum_info.hellinger_fidelity.mdx @@ -51,7 +51,7 @@ python_api_name: qiskit.quantum_info.hellinger_fidelity hellinger_fidelity(res1.get_counts(), res2.get_counts()) ``` - ```python + ``` 0.999495505805255 ``` diff --git a/docs/api/qiskit/0.39/qiskit_aer.quantum_info.AerStatevector.mdx b/docs/api/qiskit/0.39/qiskit_aer.quantum_info.AerStatevector.mdx index c96a46945ab..e7d2ac3b1d6 100644 --- a/docs/api/qiskit/0.39/qiskit_aer.quantum_info.AerStatevector.mdx +++ b/docs/api/qiskit/0.39/qiskit_aer.quantum_info.AerStatevector.mdx @@ -400,7 +400,7 @@ $$ print('Qubit-1 probs: {}'.format(probs_qubit_1)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Qubit-0 probs: [1. 0.] Qubit-1 probs: [0.5 0.5] @@ -423,7 +423,7 @@ $$ print('Swapped probs: {}'.format(probs_swapped)) ``` - ```python + ``` probs: [0.5 0. 0.5 0. ] Swapped probs: [0.5 0.5 0. 0. ] ``` @@ -622,7 +622,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '10': (-0.7071067811865475+0j)} ``` @@ -639,7 +639,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '22': (0.7071067811865475+0j)} ``` @@ -656,7 +656,7 @@ $$ print(psi.to_dict()) ``` - ```python + ``` {'00': (0.7071067811865475+0j), '91': (0.7071067811865475+0j)} ``` diff --git a/docs/api/qiskit/0.39/qpy.mdx b/docs/api/qiskit/0.39/qpy.mdx index a6b217d3b34..ade067554ce 100644 --- a/docs/api/qiskit/0.39/qpy.mdx +++ b/docs/api/qiskit/0.39/qpy.mdx @@ -57,7 +57,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -85,7 +85,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -129,7 +129,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -186,7 +186,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -202,7 +202,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -224,7 +224,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -242,7 +242,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -250,7 +250,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -265,7 +265,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -288,7 +288,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -318,7 +318,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -336,7 +336,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -352,7 +352,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -374,7 +374,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -394,7 +394,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -412,7 +412,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -433,7 +433,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -442,7 +442,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -462,7 +462,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -488,7 +488,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -513,7 +513,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -557,7 +557,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -565,7 +565,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -586,7 +586,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -605,7 +605,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -618,7 +618,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -633,7 +633,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -652,7 +652,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -661,7 +661,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -676,7 +676,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.39/transpiler.mdx b/docs/api/qiskit/0.39/transpiler.mdx index 0fecb1160d2..f234f8a34d1 100644 --- a/docs/api/qiskit/0.39/transpiler.mdx +++ b/docs/api/qiskit/0.39/transpiler.mdx @@ -38,7 +38,7 @@ When writing a quantum circuit you are free to use any quantum gate (unitary ope backend.configuration().basis_gates ``` -```python +``` ['id', 'rz', 'sx', 'x', 'cx'] ``` @@ -76,7 +76,7 @@ A few things to highlight. First, the circuit has gotten longer with respect to print('Original depth:', qc.depth(), 'Decomposed Depth:', qc_basis.depth()) ``` -```python +``` Original depth: 4 Decomposed Depth: 10 ``` @@ -247,7 +247,7 @@ for kk in range(4): print() ``` -```python +``` Optimization Level 0 Depth: 14 Gate counts: OrderedDict([('cx', 13), ('u2', 1)]) diff --git a/docs/api/qiskit/0.39/visualization.mdx b/docs/api/qiskit/0.39/visualization.mdx index eae68497e7e..174a55217f9 100644 --- a/docs/api/qiskit/0.39/visualization.mdx +++ b/docs/api/qiskit/0.39/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.40/parallel.mdx b/docs/api/qiskit/0.40/parallel.mdx index b6741bda4b5..67c0fbfa77c 100644 --- a/docs/api/qiskit/0.40/parallel.mdx +++ b/docs/api/qiskit/0.40/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.40/qasm3.mdx b/docs/api/qiskit/0.40/qasm3.mdx index f26254cb67e..86da073a8bd 100644 --- a/docs/api/qiskit/0.40/qasm3.mdx +++ b/docs/api/qiskit/0.40/qasm3.mdx @@ -102,7 +102,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.40/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.40/qiskit.circuit.library.PhaseOracle.mdx index f052d478355..76e6ea82a2c 100644 --- a/docs/api/qiskit/0.40/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.40/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmaden.mdx index 3424c160da1..60178089464 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index b8354ae51b3..9811d82362f 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonk.mdx index 233cbdfe9b8..2431a8c02c8 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 254ca9a2a91..8cb1dea838a 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 99241c1cc12..8ada8d34d4f 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 29b437a0272..0c82c7dc24d 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlington.mdx index fb00d53dcc5..d3f435a75c6 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 31bbada970c..ce3a0387596 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridge.mdx index 932aa340108..a4b8a364da9 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index f96cb3a8798..64f19adbc69 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssex.mdx index 92991cb754f..571f5f6204f 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssexV2.mdx index c9f9f4c722c..7d278e950e0 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburg.mdx index cf433171efb..5ddf1c2182b 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index 48c3bfa61dd..9115e880686 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondon.mdx index d8bc749f720..bbc4077df32 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondonV2.mdx index 258f6c21700..89d8c9278fc 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeMelbourne.mdx index 731ad8be58c..0fd3164229a 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurense.mdx index 8566274fe66..de8e15b8e2b 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 92b7158a1d2..677a5e70cab 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParis.mdx index 0f0d77834b6..144bb3759b2 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParisV2.mdx index 01a4b1b549b..c1ec5345ed6 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 02e2d0931aa..b1f7223087c 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 42f14c0eeb6..16e49abc40d 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingapore.mdx index 962152598cf..574bae03349 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 4bd8c65078a..bb1056a36f4 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTenerife.mdx index 9b2842d55d1..78a38487c1c 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTokyo.mdx index 45cdc3ec6bd..bc3ea6789a6 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigo.mdx index d898b52ba3c..1371be1d2e5 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigoV2.mdx index ec5862f9a3f..a3ca054c003 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktown.mdx index 149d8667e4c..b9eeeb3d965 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 38ad9000835..81b2021e721 100644 --- a/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.40/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.40/qpy.mdx b/docs/api/qiskit/0.40/qpy.mdx index 83ea5580b03..974142a3900 100644 --- a/docs/api/qiskit/0.40/qpy.mdx +++ b/docs/api/qiskit/0.40/qpy.mdx @@ -72,7 +72,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -98,7 +98,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -121,7 +121,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -165,7 +165,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -223,7 +223,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -239,7 +239,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -261,7 +261,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -279,7 +279,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -287,7 +287,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -302,7 +302,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -325,7 +325,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -355,7 +355,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -373,7 +373,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -389,7 +389,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -411,7 +411,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -431,7 +431,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -449,7 +449,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -470,7 +470,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -479,7 +479,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -499,7 +499,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -525,7 +525,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -550,7 +550,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -594,7 +594,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -602,7 +602,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -623,7 +623,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -642,7 +642,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -655,7 +655,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -670,7 +670,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -689,7 +689,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -698,7 +698,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -713,7 +713,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.40/visualization.mdx b/docs/api/qiskit/0.40/visualization.mdx index f157a982c13..e398cc4fca4 100644 --- a/docs/api/qiskit/0.40/visualization.mdx +++ b/docs/api/qiskit/0.40/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.41/parallel.mdx b/docs/api/qiskit/0.41/parallel.mdx index b6741bda4b5..67c0fbfa77c 100644 --- a/docs/api/qiskit/0.41/parallel.mdx +++ b/docs/api/qiskit/0.41/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.41/qasm3.mdx b/docs/api/qiskit/0.41/qasm3.mdx index f26254cb67e..86da073a8bd 100644 --- a/docs/api/qiskit/0.41/qasm3.mdx +++ b/docs/api/qiskit/0.41/qasm3.mdx @@ -102,7 +102,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.41/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.41/qiskit.circuit.library.PhaseOracle.mdx index 3c7f510c09e..dad0ddf6905 100644 --- a/docs/api/qiskit/0.41/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.41/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmaden.mdx index 3424c160da1..60178089464 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index b8354ae51b3..9811d82362f 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonk.mdx index 233cbdfe9b8..2431a8c02c8 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 254ca9a2a91..8cb1dea838a 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 99241c1cc12..8ada8d34d4f 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 29b437a0272..0c82c7dc24d 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlington.mdx index fb00d53dcc5..d3f435a75c6 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 31bbada970c..ce3a0387596 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridge.mdx index 932aa340108..a4b8a364da9 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index f96cb3a8798..64f19adbc69 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssex.mdx index 92991cb754f..571f5f6204f 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssexV2.mdx index c9f9f4c722c..7d278e950e0 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburg.mdx index cf433171efb..5ddf1c2182b 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index 48c3bfa61dd..9115e880686 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondon.mdx index d8bc749f720..bbc4077df32 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondonV2.mdx index 258f6c21700..89d8c9278fc 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeMelbourne.mdx index 731ad8be58c..0fd3164229a 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurense.mdx index 8566274fe66..de8e15b8e2b 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 92b7158a1d2..677a5e70cab 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParis.mdx index 0f0d77834b6..144bb3759b2 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParisV2.mdx index 01a4b1b549b..c1ec5345ed6 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 02e2d0931aa..b1f7223087c 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 42f14c0eeb6..16e49abc40d 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingapore.mdx index 962152598cf..574bae03349 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 4bd8c65078a..bb1056a36f4 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTenerife.mdx index 9b2842d55d1..78a38487c1c 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTokyo.mdx index 45cdc3ec6bd..bc3ea6789a6 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigo.mdx index d898b52ba3c..1371be1d2e5 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigoV2.mdx index ec5862f9a3f..a3ca054c003 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktown.mdx index 149d8667e4c..b9eeeb3d965 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 38ad9000835..81b2021e721 100644 --- a/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.41/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.41/qpy.mdx b/docs/api/qiskit/0.41/qpy.mdx index d8afb233fac..8d4abc2425b 100644 --- a/docs/api/qiskit/0.41/qpy.mdx +++ b/docs/api/qiskit/0.41/qpy.mdx @@ -72,7 +72,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -98,7 +98,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -121,7 +121,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -165,7 +165,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -223,7 +223,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -239,7 +239,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -261,7 +261,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -279,7 +279,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -287,7 +287,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -302,7 +302,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -325,7 +325,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -355,7 +355,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -373,7 +373,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -389,7 +389,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -411,7 +411,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -431,7 +431,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -449,7 +449,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -470,7 +470,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -479,7 +479,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -499,7 +499,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -525,7 +525,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -550,7 +550,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -594,7 +594,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -602,7 +602,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -623,7 +623,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -642,7 +642,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -655,7 +655,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -670,7 +670,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -689,7 +689,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -698,7 +698,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -713,7 +713,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.41/visualization.mdx b/docs/api/qiskit/0.41/visualization.mdx index c8f9f2435cc..dcc1a203dde 100644 --- a/docs/api/qiskit/0.41/visualization.mdx +++ b/docs/api/qiskit/0.41/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.42/parallel.mdx b/docs/api/qiskit/0.42/parallel.mdx index b6741bda4b5..67c0fbfa77c 100644 --- a/docs/api/qiskit/0.42/parallel.mdx +++ b/docs/api/qiskit/0.42/parallel.mdx @@ -8,7 +8,7 @@ Qiskit Aer runs simulation jobs on a single-worker Python multiprocessing Thread If you want to install dask client at the same time as Qiskit Aer, please add the `dask` extra as follows. This option installs Aer, dask, and distributed packages. -```python +```sh pip install .[dask] ``` diff --git a/docs/api/qiskit/0.42/qasm3.mdx b/docs/api/qiskit/0.42/qasm3.mdx index f26254cb67e..86da073a8bd 100644 --- a/docs/api/qiskit/0.42/qasm3.mdx +++ b/docs/api/qiskit/0.42/qasm3.mdx @@ -102,7 +102,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.42/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.42/qiskit.circuit.library.PhaseOracle.mdx index ff9f4403873..ea1bad1fb95 100644 --- a/docs/api/qiskit/0.42/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.42/qiskit.circuit.library.PhaseOracle.mdx @@ -59,7 +59,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmaden.mdx index 3424c160da1..60178089464 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index b8354ae51b3..9811d82362f 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonk.mdx index 233cbdfe9b8..2431a8c02c8 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 254ca9a2a91..8cb1dea838a 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 99241c1cc12..8ada8d34d4f 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 29b437a0272..0c82c7dc24d 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlington.mdx index fb00d53dcc5..d3f435a75c6 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 31bbada970c..ce3a0387596 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridge.mdx index 932aa340108..a4b8a364da9 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index f96cb3a8798..64f19adbc69 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssex.mdx index 92991cb754f..571f5f6204f 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssexV2.mdx index c9f9f4c722c..7d278e950e0 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburg.mdx index cf433171efb..5ddf1c2182b 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index 48c3bfa61dd..9115e880686 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondon.mdx index d8bc749f720..bbc4077df32 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondonV2.mdx index 258f6c21700..89d8c9278fc 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeMelbourne.mdx index 731ad8be58c..0fd3164229a 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurense.mdx index 8566274fe66..de8e15b8e2b 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 92b7158a1d2..677a5e70cab 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParis.mdx index 0f0d77834b6..144bb3759b2 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParisV2.mdx index 01a4b1b549b..c1ec5345ed6 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 02e2d0931aa..b1f7223087c 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 42f14c0eeb6..16e49abc40d 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingapore.mdx index 962152598cf..574bae03349 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 4bd8c65078a..bb1056a36f4 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTenerife.mdx index 9b2842d55d1..78a38487c1c 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTokyo.mdx index 45cdc3ec6bd..bc3ea6789a6 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigo.mdx index d898b52ba3c..1371be1d2e5 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigoV2.mdx index ec5862f9a3f..a3ca054c003 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktown.mdx index 149d8667e4c..b9eeeb3d965 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 38ad9000835..81b2021e721 100644 --- a/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.42/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.42/qpy.mdx b/docs/api/qiskit/0.42/qpy.mdx index d8afb233fac..8d4abc2425b 100644 --- a/docs/api/qiskit/0.42/qpy.mdx +++ b/docs/api/qiskit/0.42/qpy.mdx @@ -72,7 +72,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -98,7 +98,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -121,7 +121,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -165,7 +165,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -223,7 +223,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -239,7 +239,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -261,7 +261,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -279,7 +279,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -287,7 +287,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -302,7 +302,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -325,7 +325,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -355,7 +355,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -373,7 +373,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -389,7 +389,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -411,7 +411,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -431,7 +431,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -449,7 +449,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -470,7 +470,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -479,7 +479,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -499,7 +499,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -525,7 +525,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -550,7 +550,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -594,7 +594,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -602,7 +602,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -623,7 +623,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -642,7 +642,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -655,7 +655,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -670,7 +670,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -689,7 +689,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -698,7 +698,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -713,7 +713,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.42/visualization.mdx b/docs/api/qiskit/0.42/visualization.mdx index be626b5a059..bbc571850c2 100644 --- a/docs/api/qiskit/0.42/visualization.mdx +++ b/docs/api/qiskit/0.42/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.43/qasm2.mdx b/docs/api/qiskit/0.43/qasm2.mdx index cd75797d4bf..20ac01b8dd7 100644 --- a/docs/api/qiskit/0.43/qasm2.mdx +++ b/docs/api/qiskit/0.43/qasm2.mdx @@ -154,7 +154,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ diff --git a/docs/api/qiskit/0.43/qasm3.mdx b/docs/api/qiskit/0.43/qasm3.mdx index 1a53f96cb12..6cae221bc57 100644 --- a/docs/api/qiskit/0.43/qasm3.mdx +++ b/docs/api/qiskit/0.43/qasm3.mdx @@ -146,7 +146,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.43/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.43/qiskit.circuit.library.PhaseOracle.mdx index 8f9066ad8e6..c0833f95db1 100644 --- a/docs/api/qiskit/0.43/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.43/qiskit.circuit.library.PhaseOracle.mdx @@ -60,7 +60,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmaden.mdx index 8d6732b924d..6df3ab5b91f 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index 078127f751a..d434d522843 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonk.mdx index a63ad638e47..b2aec763924 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 2468704e9f1..4f6c388e689 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 1a528a6137e..19eda8128ee 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 02b25756056..cf682fa4d73 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlington.mdx index 44d985336b0..60c26e0a974 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index cbf6f81a723..d38b62fe208 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridge.mdx index 0b37e597e96..2ecd0f251da 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 82340287e60..a3e840c0d15 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssex.mdx index 031bda0fb07..04aa3685ac6 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssexV2.mdx index d75af02b358..87393a63b70 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburg.mdx index 37ab9b42b04..25eb2ff4dc6 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index 55f3ef46679..f7d5d314fc3 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondon.mdx index a0d46556dc6..b1e5129a1bd 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondonV2.mdx index e18eadeb61d..5fba23a2987 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeMelbourne.mdx index 60ffe11b1f7..2281f74ab4b 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurense.mdx index f5d14e1554a..52100fcf773 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 708e523e8c7..5a3cc818e17 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParis.mdx index c1b5d61367c..d41160ad811 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParisV2.mdx index d126648eaf4..18449804fd2 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 926c3d68c78..ee32152fed0 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeRueschlikon.mdx index a5f890a17e1..e398892feca 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingapore.mdx index feda75bc5cd..e9fb5664328 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 51b7460a0f9..348b6e0cb59 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTenerife.mdx index 6da9431567a..bdb430b8809 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTokyo.mdx index ee353159541..06252e69438 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigo.mdx index 4d293c0dbc8..82267d7660d 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigoV2.mdx index 46e3c2b22f5..420ce70587e 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktown.mdx index 4e8d0c8b49d..109a8b7bfd8 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktownV2.mdx index a691fe96358..682c5f46500 100644 --- a/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.43/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.43/qiskit.transpiler.preset_passmanagers.plugin.passmanager_stage_plugins.mdx b/docs/api/qiskit/0.43/qiskit.transpiler.preset_passmanagers.plugin.passmanager_stage_plugins.mdx index 9fcafb6d7c9..0e046537a95 100644 --- a/docs/api/qiskit/0.43/qiskit.transpiler.preset_passmanagers.plugin.passmanager_stage_plugins.mdx +++ b/docs/api/qiskit/0.43/qiskit.transpiler.preset_passmanagers.plugin.passmanager_stage_plugins.mdx @@ -22,7 +22,7 @@ python_api_name: qiskit.transpiler.preset_passmanagers.plugin.passmanager_stage_ help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/0.43/qpy.mdx b/docs/api/qiskit/0.43/qpy.mdx index 2aa69f03074..a97e0e45821 100644 --- a/docs/api/qiskit/0.43/qpy.mdx +++ b/docs/api/qiskit/0.43/qpy.mdx @@ -72,7 +72,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -98,7 +98,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -116,7 +116,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -170,7 +170,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -193,7 +193,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -239,7 +239,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -317,7 +317,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -333,7 +333,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -355,7 +355,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -373,7 +373,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -381,7 +381,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -396,7 +396,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -419,7 +419,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -449,7 +449,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -467,7 +467,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -483,7 +483,7 @@ A SEQUENCE is a reprentation of a arbitrary sequence object. As sequence are jus A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -505,7 +505,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -525,7 +525,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -543,7 +543,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -564,7 +564,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -573,7 +573,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -593,7 +593,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -619,7 +619,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -644,7 +644,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -688,7 +688,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -696,7 +696,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -717,7 +717,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -736,7 +736,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -749,7 +749,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -764,7 +764,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -783,7 +783,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -792,7 +792,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -807,7 +807,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.43/visualization.mdx b/docs/api/qiskit/0.43/visualization.mdx index 7d5bd8b95fd..20b5b03ca9f 100644 --- a/docs/api/qiskit/0.43/visualization.mdx +++ b/docs/api/qiskit/0.43/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.44/qasm2.mdx b/docs/api/qiskit/0.44/qasm2.mdx index 3fa5b8a9910..287c4acb982 100644 --- a/docs/api/qiskit/0.44/qasm2.mdx +++ b/docs/api/qiskit/0.44/qasm2.mdx @@ -166,7 +166,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -274,7 +274,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -319,7 +319,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/0.44/qasm3.mdx b/docs/api/qiskit/0.44/qasm3.mdx index 95409dfd6b2..a8220ddb06c 100644 --- a/docs/api/qiskit/0.44/qasm3.mdx +++ b/docs/api/qiskit/0.44/qasm3.mdx @@ -165,7 +165,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.44/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.44/qiskit.circuit.library.PhaseOracle.mdx index 883bc8668d1..0c8c24aaa68 100644 --- a/docs/api/qiskit/0.44/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.44/qiskit.circuit.library.PhaseOracle.mdx @@ -239,7 +239,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmaden.mdx index 3f529039db0..b0c9c226132 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index 594f8a56d75..5039a616843 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonk.mdx index 210e27d8aea..da995e8d396 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 9c4fd4c026f..8fa6ab8d64d 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 7c1c766e014..a1e9253592b 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 0bf49cce8e3..653e649f140 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlington.mdx index 84c33ceb947..662c7f89b40 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 6c1d5ad45e6..74af40a5a05 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridge.mdx index 77933245e81..77a9f4a2934 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 3cf3ad2a05a..71ab67905a4 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssex.mdx index 45e8b1ca56b..5b119aa3a5a 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssexV2.mdx index 7a2cf7375c2..5efe17116b2 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburg.mdx index 934d26421cb..0796e5e3c31 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index f9b1afc23a2..94c0d3b5252 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondon.mdx index 02e46249144..6b8aba0a839 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondonV2.mdx index b9a4a486707..8fed9f5bff6 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeMelbourne.mdx index c15fdb85699..a95eb681c8f 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurense.mdx index 65f56b53e6d..79189586a7b 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 77e72c3dffa..321a33d5066 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParis.mdx index 12e38ecff26..8a3724e1e47 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParisV2.mdx index b64780156aa..c10bd15ff96 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 63cbb5e619d..4a7993f16fa 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 91fdf22b4a0..6e41da9898b 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingapore.mdx index 69f464eab6d..72a21f6f156 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 9e3e8201520..8b76ce72a8a 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTenerife.mdx index b5832bdba08..5c0865af224 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTokyo.mdx index b33ccb2a324..39e8eb790dd 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigo.mdx index a12c7db4f9e..267aa58dd05 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigoV2.mdx index 38b1a2fe08d..909dc69b6a5 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktown.mdx index ec1e46b109d..8022b2676d8 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 30fd5000f25..ab2582a5749 100644 --- a/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.44/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.44/qpy.mdx b/docs/api/qiskit/0.44/qpy.mdx index d1a267e6d92..b3575aa5d4f 100644 --- a/docs/api/qiskit/0.44/qpy.mdx +++ b/docs/api/qiskit/0.44/qpy.mdx @@ -175,7 +175,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 7 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -255,7 +255,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields `IfElseOp.condition`, `WhileLoopOp.condition` and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -292,7 +292,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -310,7 +310,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -364,7 +364,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -387,7 +387,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -433,7 +433,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -511,7 +511,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -527,7 +527,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -549,7 +549,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -567,7 +567,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -575,7 +575,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -592,7 +592,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -615,7 +615,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -645,7 +645,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -663,7 +663,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -679,7 +679,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -701,7 +701,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -721,7 +721,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -739,7 +739,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -760,7 +760,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -769,7 +769,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -789,7 +789,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -815,7 +815,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -840,7 +840,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -884,7 +884,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -892,7 +892,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -913,7 +913,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -932,7 +932,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -945,7 +945,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -960,7 +960,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -979,7 +979,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -988,7 +988,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1003,7 +1003,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.44/transpiler_plugins.mdx b/docs/api/qiskit/0.44/transpiler_plugins.mdx index efc001489ba..f81d9c2b52b 100644 --- a/docs/api/qiskit/0.44/transpiler_plugins.mdx +++ b/docs/api/qiskit/0.44/transpiler_plugins.mdx @@ -131,7 +131,7 @@ Note that the entry point `name = path` is a single string not a Python expressi help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/0.44/visualization.mdx b/docs/api/qiskit/0.44/visualization.mdx index 0237b0933db..41dc97e32bd 100644 --- a/docs/api/qiskit/0.44/visualization.mdx +++ b/docs/api/qiskit/0.44/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.45/qasm2.mdx b/docs/api/qiskit/0.45/qasm2.mdx index 5015db48e47..015a6dcf68a 100644 --- a/docs/api/qiskit/0.45/qasm2.mdx +++ b/docs/api/qiskit/0.45/qasm2.mdx @@ -207,7 +207,7 @@ qc.measure([0, 1], [0, 1]) print(qiskit.qasm2.dumps(qc)) ``` -```python +```text OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; @@ -262,7 +262,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -370,7 +370,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -415,7 +415,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/0.45/qasm3.mdx b/docs/api/qiskit/0.45/qasm3.mdx index 55c1c29401e..72e4431d952 100644 --- a/docs/api/qiskit/0.45/qasm3.mdx +++ b/docs/api/qiskit/0.45/qasm3.mdx @@ -165,7 +165,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.45/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.45/qiskit.circuit.library.PhaseOracle.mdx index 6264add8765..043227f2c36 100644 --- a/docs/api/qiskit/0.45/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.45/qiskit.circuit.library.PhaseOracle.mdx @@ -239,7 +239,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmaden.mdx index 5bba975e3e9..18aab9f4ff6 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index 34e786d77d8..cca2323aa3d 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonk.mdx index d62f39e0367..4f79a6d480b 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 820324c8621..224b2f66912 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingen.mdx index 775144145b2..4df2994de03 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 4a7c9694270..20d2b0d2eaf 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlington.mdx index 6a9a7e5a6b7..8f9511d1182 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index e47321c3c75..c8a68b71534 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridge.mdx index 01c90624742..d9b96dd09e5 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 4bf62ca0b72..0bcb9bfe43e 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssex.mdx index fbefbfe3532..63bf3c7d802 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssexV2.mdx index 8d3e4b82c14..9487e220bfb 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburg.mdx index 9d95c4847f7..bdf86c527b3 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index b71adf0ce64..6348b1e1eda 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondon.mdx index f671f240d69..7de6f7f296e 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondonV2.mdx index a5fb83803de..651f9e85ea4 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeMelbourne.mdx index a39cadc4712..ef988c84875 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurense.mdx index bb04173ce74..50289edd977 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurenseV2.mdx index 8836420e449..7a0fa42fdbf 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParis.mdx index 87b85a600d3..62f339cf98d 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParisV2.mdx index b28fdac5369..324ae74cd5b 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index 1bea424a6bb..d48560778c1 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 776b64b63ab..3fbd99b9d9e 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingapore.mdx index 3731941b4bc..7c8b09ca8e1 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index f5ac0ba8475..492e54339aa 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTenerife.mdx index 534f98a0972..e4925cc0bad 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTokyo.mdx index 8d9498174f0..14e2113156c 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigo.mdx index 1e6c6864dc2..ace6902fdd1 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigoV2.mdx index 8fe949ffba9..4b679d1b9dd 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktown.mdx index 178593cf245..cfd98ed6076 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktownV2.mdx index a8b3ae1c166..1cb7d593ffd 100644 --- a/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.45/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.45/qpy.mdx b/docs/api/qiskit/0.45/qpy.mdx index fd4a8bd0851..5679f420019 100644 --- a/docs/api/qiskit/0.45/qpy.mdx +++ b/docs/api/qiskit/0.45/qpy.mdx @@ -172,7 +172,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 6 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -184,7 +184,7 @@ struct { From V10 on, a new field is added to the file header struct to represent the encoding scheme used for symbolic expressions: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -217,7 +217,7 @@ The symbolic\_encoding field is added to the file header, and a new encoding typ The contents of FILE\_HEADER after V10 are defined as a C struct as: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -232,7 +232,7 @@ struct { The `LAYOUT` struct is updated to have an additional `input_qubit_count` field. With version 10 the `LAYOUT` struct is now: -```python +```c struct { char exists; int32_t initial_layout_size; @@ -307,7 +307,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields [`IfElseOp.condition`](qiskit.circuit.IfElseOp#condition "qiskit.circuit.IfElseOp.condition"), [`WhileLoopOp.condition`](qiskit.circuit.WhileLoopOp#condition "qiskit.circuit.WhileLoopOp.condition") and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -346,7 +346,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -364,7 +364,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -418,7 +418,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -441,7 +441,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -487,7 +487,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -565,7 +565,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -581,7 +581,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -603,7 +603,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -621,7 +621,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -629,7 +629,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -646,7 +646,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -669,7 +669,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -699,7 +699,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -717,7 +717,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -733,7 +733,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -755,7 +755,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -775,7 +775,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -793,7 +793,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -814,7 +814,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -823,7 +823,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -843,7 +843,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -869,7 +869,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -894,7 +894,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -938,7 +938,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -946,7 +946,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -967,7 +967,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -986,7 +986,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -999,7 +999,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -1014,7 +1014,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -1033,7 +1033,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1042,7 +1042,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1057,7 +1057,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.45/transpiler_plugins.mdx b/docs/api/qiskit/0.45/transpiler_plugins.mdx index cac95df94b1..64b5fafc316 100644 --- a/docs/api/qiskit/0.45/transpiler_plugins.mdx +++ b/docs/api/qiskit/0.45/transpiler_plugins.mdx @@ -131,7 +131,7 @@ Note that the entry point `name = path` is a single string not a Python expressi help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/0.45/visualization.mdx b/docs/api/qiskit/0.45/visualization.mdx index a5fde2edd62..4e2d76bf4d3 100644 --- a/docs/api/qiskit/0.45/visualization.mdx +++ b/docs/api/qiskit/0.45/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/0.46/qasm2.mdx b/docs/api/qiskit/0.46/qasm2.mdx index 348a5e15257..f0b98ab3dd7 100644 --- a/docs/api/qiskit/0.46/qasm2.mdx +++ b/docs/api/qiskit/0.46/qasm2.mdx @@ -207,7 +207,7 @@ qc.measure([0, 1], [0, 1]) print(qiskit.qasm2.dumps(qc)) ``` -```python +```text OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; @@ -262,7 +262,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -370,7 +370,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -415,7 +415,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/0.46/qasm3.mdx b/docs/api/qiskit/0.46/qasm3.mdx index 3f9facfe079..d9b9f690c83 100644 --- a/docs/api/qiskit/0.46/qasm3.mdx +++ b/docs/api/qiskit/0.46/qasm3.mdx @@ -165,7 +165,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit Terra with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit-terra[qasm3-import] ``` diff --git a/docs/api/qiskit/0.46/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/0.46/qiskit.circuit.library.PhaseOracle.mdx index 215a1a70dc2..f195d694027 100644 --- a/docs/api/qiskit/0.46/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/0.46/qiskit.circuit.library.PhaseOracle.mdx @@ -239,7 +239,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmaden.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmaden.mdx index bdbade5a02a..c16794fd50c 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmaden.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmaden.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmaden A fake Almaden backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmadenV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmadenV2.mdx index 484e74e06bb..088de0c0329 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmadenV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeAlmadenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeAlmadenV2 A fake Almaden V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonk.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonk.mdx index 3c7d14a5bc4..d091e36a026 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonk.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonk.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonk A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonkV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonkV2.mdx index 6e8919ae8c7..e45ee0e4301 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonkV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeArmonkV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeArmonkV2 A fake 1 qubit backend. - ```python + ```text 0 ``` diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingen.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingen.mdx index d967503505f..76511cdf1e8 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingen.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingen.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingen A fake Boeblingen backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx index 919eeb73a34..33791ac43a7 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBoeblingenV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBoeblingenV2 A fake Boeblingen V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlington.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlington.mdx index 3d1f1892658..a4440752ffb 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlington.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlington.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlington A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx index 8c4677f3b3e..16ab983f599 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeBurlingtonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeBurlingtonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridge.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridge.mdx index 3171f7eead5..1578db6ac11 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridge.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridge.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridge A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridgeV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridgeV2.mdx index 15f69bf13b9..fbbeacd4948 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridgeV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeCambridgeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeCambridgeV2 A fake Cambridge backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 06 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssex.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssex.mdx index 0ed25a0c194..eaf8cf75847 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssex.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssex.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssex A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssexV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssexV2.mdx index cf43864fc75..acc7be54fa8 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssexV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeEssexV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeEssexV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburg.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburg.mdx index 9e96e744d96..b93980f2386 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburg.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburg.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburg A fake Johannesburg backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx index 9f787954c14..0c3823dc02c 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeJohannesburgV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeJohannesburgV2 A fake Johannesburg V2 backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondon.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondon.mdx index e0f4226c36a..1e218fd2169 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondon.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondon A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondonV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondonV2.mdx index 54843eb81f8..cc4b4593206 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondonV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeLondonV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeLondonV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 2 ↕ 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeMelbourne.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeMelbourne.mdx index 4042ceefe05..69a410de594 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeMelbourne.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeMelbourne.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeMelbourne A fake 14 qubit backend. - ```python + ```text 0 ← 1 → 2 → 3 ← 4 ← 5 → 6 ↑ ↑ ↑ ↓ ↓ ↓ 13 → 12 ← 11 → 10 ← 9 → 8 ← 7 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurense.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurense.mdx index 15586604fd0..8a155f0baee 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurense.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurense.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurense A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurenseV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurenseV2.mdx index d6e1818ee18..3d9da9c4688 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurenseV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeOurenseV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeOurenseV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParis.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParis.mdx index 143ce912ba7..5f36a443500 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParis.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParis.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParis A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParisV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParisV2.mdx index ec1b2992448..5b816172593 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParisV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeParisV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeParisV2 A fake Paris backend. - ```python + ```text 06 17 ↕ ↕ 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakePoughkeepsie.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakePoughkeepsie.mdx index cb26f4b2679..dabe08aa3d0 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakePoughkeepsie.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakePoughkeepsie.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakePoughkeepsie A fake Poughkeepsie backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeRueschlikon.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeRueschlikon.mdx index 1e765553e84..4873b977907 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeRueschlikon.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeRueschlikon.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeRueschlikon A fake 16 qubit backend. - ```python + ```text 1 → 2 → 3 → 4 ← 5 ← 6 → 7 ← 8 ↓ ↑ ↓ ↓ ↑ ↓ ↓ ↑ 0 ← 15 → 14 ← 13 ← 12 → 11 → 10 ← 9 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingapore.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingapore.mdx index 9b5d074e355..ffd127c6aca 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingapore.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingapore.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingapore A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingaporeV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingaporeV2.mdx index 488f3a8c276..ed15d4c1767 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingaporeV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeSingaporeV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeSingaporeV2 A fake Singapore backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTenerife.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTenerife.mdx index a9a0357a2c8..7c9b5fdc03e 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTenerife.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTenerife.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTenerife A fake 5 qubit backend. - ```python + ```text 1 ↙ ↑ 0 ← 2 ← 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTokyo.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTokyo.mdx index dfb1b3eca60..6470c9462bc 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTokyo.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeTokyo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeTokyo A fake 20 qubit backend. - ```python + ```text 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 ↕ ↕ ↕ ↕ ⤫ ↕ 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigo.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigo.mdx index 393c9203592..5a108f41479 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigo.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigo.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigo A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigoV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigoV2.mdx index 40e6b0de92d..8d5cf1759f2 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigoV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeVigoV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeVigoV2 A fake 5 qubit backend. - ```python + ```text 0 ↔ 1 ↔ 3 ↔ 4 ↕ 2 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktown.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktown.mdx index f748ff2b443..74abf070374 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktown.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktown.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktown A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktownV2.mdx b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktownV2.mdx index 0c7ebdfd30e..38b121be835 100644 --- a/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktownV2.mdx +++ b/docs/api/qiskit/0.46/qiskit.providers.fake_provider.FakeYorktownV2.mdx @@ -13,7 +13,7 @@ python_api_name: qiskit.providers.fake_provider.FakeYorktownV2 A fake 5 qubit backend. - ```python + ```text 1 / | 0 - 2 - 3 diff --git a/docs/api/qiskit/0.46/qpy.mdx b/docs/api/qiskit/0.46/qpy.mdx index 454a1072de0..d2be4beae66 100644 --- a/docs/api/qiskit/0.46/qpy.mdx +++ b/docs/api/qiskit/0.46/qpy.mdx @@ -172,7 +172,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 6 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -184,7 +184,7 @@ struct { From V10 on, a new field is added to the file header struct to represent the encoding scheme used for symbolic expressions: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -217,7 +217,7 @@ The symbolic\_encoding field is added to the file header, and a new encoding typ The contents of FILE\_HEADER after V10 are defined as a C struct as: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -232,7 +232,7 @@ struct { The `LAYOUT` struct is updated to have an additional `input_qubit_count` field. With version 10 the `LAYOUT` struct is now: -```python +```c struct { char exists; int32_t initial_layout_size; @@ -307,7 +307,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields [`IfElseOp.condition`](qiskit.circuit.IfElseOp#condition "qiskit.circuit.IfElseOp.condition"), [`WhileLoopOp.condition`](qiskit.circuit.WhileLoopOp#condition "qiskit.circuit.WhileLoopOp.condition") and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -346,7 +346,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -364,7 +364,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -418,7 +418,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -441,7 +441,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -487,7 +487,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -565,7 +565,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -581,7 +581,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -603,7 +603,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -621,7 +621,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -629,7 +629,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -646,7 +646,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -669,7 +669,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -699,7 +699,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -717,7 +717,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -733,7 +733,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -755,7 +755,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -775,7 +775,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`PauliSumOp`](qiskit.opflow.primitive_ops.PauliSumOp "qiskit.opflow.primitive_ops.PauliSumOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -793,7 +793,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -814,7 +814,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -823,7 +823,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -843,7 +843,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -868,7 +868,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -892,7 +892,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -936,7 +936,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -944,7 +944,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -965,7 +965,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -984,7 +984,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -997,7 +997,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -1012,7 +1012,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -1031,7 +1031,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1040,7 +1040,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1055,7 +1055,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/0.46/transpiler_plugins.mdx b/docs/api/qiskit/0.46/transpiler_plugins.mdx index 370f7b4a24a..2b74908b675 100644 --- a/docs/api/qiskit/0.46/transpiler_plugins.mdx +++ b/docs/api/qiskit/0.46/transpiler_plugins.mdx @@ -131,7 +131,7 @@ Note that the entry point `name = path` is a single string not a Python expressi help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/0.46/visualization.mdx b/docs/api/qiskit/0.46/visualization.mdx index 83ff4a6c1e5..5fbf4996a68 100644 --- a/docs/api/qiskit/0.46/visualization.mdx +++ b/docs/api/qiskit/0.46/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/1.0/qasm2.mdx b/docs/api/qiskit/1.0/qasm2.mdx index b7a2b9139db..f57faf922dd 100644 --- a/docs/api/qiskit/1.0/qasm2.mdx +++ b/docs/api/qiskit/1.0/qasm2.mdx @@ -207,7 +207,7 @@ qc.measure([0, 1], [0, 1]) print(qiskit.qasm2.dumps(qc)) ``` -```python +```text OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; @@ -262,7 +262,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -370,7 +370,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -415,7 +415,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/1.0/qasm3.mdx b/docs/api/qiskit/1.0/qasm3.mdx index 7729ee96cc4..032d6f1c151 100644 --- a/docs/api/qiskit/1.0/qasm3.mdx +++ b/docs/api/qiskit/1.0/qasm3.mdx @@ -202,7 +202,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit[qasm3-import] ``` diff --git a/docs/api/qiskit/1.0/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/1.0/qiskit.circuit.library.PhaseOracle.mdx index b116f8f4f05..d2dfbaa9e7b 100644 --- a/docs/api/qiskit/1.0/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/1.0/qiskit.circuit.library.PhaseOracle.mdx @@ -228,7 +228,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake20QV1.mdx b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake20QV1.mdx index f631e95c694..f91ae8aeffc 100644 --- a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake20QV1.mdx +++ b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake20QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake20QV1 * coupling\_map: - > ```python + > ```text > 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 > ↕ ↕ > 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake27QPulseV1.mdx b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake27QPulseV1.mdx index 86f908025e0..671f64bd6b8 100644 --- a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake27QPulseV1.mdx +++ b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake27QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake27QPulseV1 * coupling\_map: - > ```python + > ```text > 06 17 > ↕ ↕ > 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake5QV1.mdx b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake5QV1.mdx index 85893eda6b0..348146bb0c5 100644 --- a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake5QV1.mdx +++ b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake5QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake5QV1 * coupling\_map: - > ```python + > ```text > 1 > / | > 0 - 2 - 3 diff --git a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake7QPulseV1.mdx b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake7QPulseV1.mdx index 45da5745fcd..3df93a4a640 100644 --- a/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake7QPulseV1.mdx +++ b/docs/api/qiskit/1.0/qiskit.providers.fake_provider.Fake7QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake7QPulseV1 * coupling\_map: - > ```python + > ```text > 0 ↔ 1 ↔ 3 ↔ 5 ↔ 6 > ↕ ↕ > 2 4 diff --git a/docs/api/qiskit/1.0/qpy.mdx b/docs/api/qiskit/1.0/qpy.mdx index 32945a61a4f..5aee391f5d1 100644 --- a/docs/api/qiskit/1.0/qpy.mdx +++ b/docs/api/qiskit/1.0/qpy.mdx @@ -212,7 +212,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 6 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -224,7 +224,7 @@ struct { From V10 on, a new field is added to the file header struct to represent the encoding scheme used for symbolic expressions: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -255,7 +255,7 @@ Version 11 is identical to Version 10 except for the following. First, the names This represents `Modifier` -```python +```c struct { char type; uint32_t num_ctrl_qubits; @@ -280,7 +280,7 @@ The symbolic\_encoding field is added to the file header, and a new encoding typ The contents of FILE\_HEADER after V10 are defined as a C struct as: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -295,7 +295,7 @@ struct { The `LAYOUT` struct is updated to have an additional `input_qubit_count` field. With version 10 the `LAYOUT` struct is now: -```python +```c struct { char exists; int32_t initial_layout_size; @@ -370,7 +370,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields [`IfElseOp.condition`](qiskit.circuit.IfElseOp#condition "qiskit.circuit.IfElseOp.condition"), [`WhileLoopOp.condition`](qiskit.circuit.WhileLoopOp#condition "qiskit.circuit.WhileLoopOp.condition") and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -409,7 +409,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -427,7 +427,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -481,7 +481,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -504,7 +504,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -550,7 +550,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -628,7 +628,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -644,7 +644,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -666,7 +666,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -684,7 +684,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -692,7 +692,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -709,7 +709,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -732,7 +732,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -762,7 +762,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -780,7 +780,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -796,7 +796,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -818,7 +818,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -838,7 +838,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`SparsePauliOp`](qiskit.quantum_info.SparsePauliOp "qiskit.quantum_info.SparsePauliOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -856,7 +856,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -877,7 +877,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -886,7 +886,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -906,7 +906,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -932,7 +932,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -957,7 +957,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -1001,7 +1001,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -1009,7 +1009,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -1030,7 +1030,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -1049,7 +1049,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -1062,7 +1062,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -1077,7 +1077,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -1096,7 +1096,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1105,7 +1105,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1120,7 +1120,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/1.0/transpiler_plugins.mdx b/docs/api/qiskit/1.0/transpiler_plugins.mdx index 76c79c26512..a90c408f28f 100644 --- a/docs/api/qiskit/1.0/transpiler_plugins.mdx +++ b/docs/api/qiskit/1.0/transpiler_plugins.mdx @@ -129,7 +129,7 @@ There isn’t a limit to the number of plugins a single package can include as l help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/1.0/transpiler_synthesis_plugins.mdx b/docs/api/qiskit/1.0/transpiler_synthesis_plugins.mdx index 203d507be67..82a14e58310 100644 --- a/docs/api/qiskit/1.0/transpiler_synthesis_plugins.mdx +++ b/docs/api/qiskit/1.0/transpiler_synthesis_plugins.mdx @@ -110,7 +110,7 @@ If for some reason the available inputs to the [`run()`](qiskit.transpiler.passe The second step is to expose the [`UnitarySynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin") as a setuptools entry point in the package metadata. This is done by simply adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.unitary_synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.unitary_synthesis"] "special" = "qiskit_plugin_pkg.module.plugin:SpecialUnitarySynthesis" ``` @@ -143,7 +143,7 @@ The above example creates a plugin to synthesize objects of type [`Clifford`](qi The second step is to expose the [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin") as a setuptools entry point in the package metadata. This is done by adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.synthesis"] "clifford.special" = "qiskit_plugin_pkg.module.plugin:SpecialSynthesisClifford" ``` diff --git a/docs/api/qiskit/1.0/visualization.mdx b/docs/api/qiskit/1.0/visualization.mdx index 38539f9d274..8d75ad95932 100644 --- a/docs/api/qiskit/1.0/visualization.mdx +++ b/docs/api/qiskit/1.0/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/1.1/qasm2.mdx b/docs/api/qiskit/1.1/qasm2.mdx index d2616f4692b..0b2f7e33c03 100644 --- a/docs/api/qiskit/1.1/qasm2.mdx +++ b/docs/api/qiskit/1.1/qasm2.mdx @@ -207,7 +207,7 @@ qc.measure([0, 1], [0, 1]) print(qiskit.qasm2.dumps(qc)) ``` -```python +```text OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; @@ -262,7 +262,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -370,7 +370,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -415,7 +415,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/1.1/qasm3.mdx b/docs/api/qiskit/1.1/qasm3.mdx index c5661efd830..e2ec7e086e3 100644 --- a/docs/api/qiskit/1.1/qasm3.mdx +++ b/docs/api/qiskit/1.1/qasm3.mdx @@ -202,7 +202,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit[qasm3-import] ``` diff --git a/docs/api/qiskit/1.1/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/1.1/qiskit.circuit.library.PhaseOracle.mdx index 051ea0ebab3..6a3f9a7e8a4 100644 --- a/docs/api/qiskit/1.1/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/1.1/qiskit.circuit.library.PhaseOracle.mdx @@ -290,7 +290,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake20QV1.mdx b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake20QV1.mdx index 387b0e84377..3f100e983b6 100644 --- a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake20QV1.mdx +++ b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake20QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake20QV1 * coupling\_map: - > ```python + > ```text > 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 > ↕ ↕ > 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake27QPulseV1.mdx b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake27QPulseV1.mdx index 29808eda3c3..f652cb9ceaf 100644 --- a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake27QPulseV1.mdx +++ b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake27QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake27QPulseV1 * coupling\_map: - > ```python + > ```text > 06 17 > ↕ ↕ > 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake5QV1.mdx b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake5QV1.mdx index a33ca8fbeb7..11676d35bce 100644 --- a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake5QV1.mdx +++ b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake5QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake5QV1 * coupling\_map: - > ```python + > ```text > 1 > / | > 0 - 2 - 3 diff --git a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake7QPulseV1.mdx b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake7QPulseV1.mdx index 789db009a9a..4b89e309611 100644 --- a/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake7QPulseV1.mdx +++ b/docs/api/qiskit/1.1/qiskit.providers.fake_provider.Fake7QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake7QPulseV1 * coupling\_map: - > ```python + > ```text > 0 ↔ 1 ↔ 3 ↔ 5 ↔ 6 > ↕ ↕ > 2 4 diff --git a/docs/api/qiskit/1.1/qpy.mdx b/docs/api/qiskit/1.1/qpy.mdx index 6d90d1f8b51..632cd72170b 100644 --- a/docs/api/qiskit/1.1/qpy.mdx +++ b/docs/api/qiskit/1.1/qpy.mdx @@ -270,7 +270,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 6 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -282,7 +282,7 @@ struct { From V10 on, a new field is added to the file header struct to represent the encoding scheme used for symbolic expressions: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -315,7 +315,7 @@ Version 12 adds support for: The HEADER struct for an individual circuit has added three `uint32_t` counts of the input, captured and locally declared variables in the circuit. The new form looks like: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -337,7 +337,7 @@ The `HEADER_V12` struct is followed immediately by the same name, global-phase, An `EXPR_VAR_DECLARATION` defines an [`expr.Var`](circuit_classical#qiskit.circuit.classical.expr.Var "qiskit.circuit.classical.expr.Var") instance that is standalone; that is, it represents a self-owned memory location rather than wrapping a [`Clbit`](circuit#qiskit.circuit.Clbit "qiskit.circuit.Clbit") or [`ClassicalRegister`](circuit#qiskit.circuit.ClassicalRegister "qiskit.circuit.ClassicalRegister"). The payload is a C struct: -```python +```c struct { char uuid_bytes[16]; char usage; @@ -387,7 +387,7 @@ Version 11 is identical to Version 10 except for the following. First, the names This represents `Modifier` -```python +```c struct { char type; uint32_t num_ctrl_qubits; @@ -415,7 +415,7 @@ The symbolic\_encoding field is added to the file header, and a new encoding typ The contents of FILE\_HEADER after V10 are defined as a C struct as: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -430,7 +430,7 @@ struct { The `LAYOUT` struct is updated to have an additional `input_qubit_count` field. With version 10 the `LAYOUT` struct is now: -```python +```c struct { char exists; int32_t initial_layout_size; @@ -505,7 +505,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields [`IfElseOp.condition`](qiskit.circuit.IfElseOp#condition "qiskit.circuit.IfElseOp.condition"), [`WhileLoopOp.condition`](qiskit.circuit.WhileLoopOp#condition "qiskit.circuit.WhileLoopOp.condition") and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -542,7 +542,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -560,7 +560,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -614,7 +614,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -637,7 +637,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -683,7 +683,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -761,7 +761,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -777,7 +777,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -799,7 +799,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -817,7 +817,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -825,7 +825,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -842,7 +842,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -865,7 +865,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -895,7 +895,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -913,7 +913,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -929,7 +929,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -951,7 +951,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -971,7 +971,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`SparsePauliOp`](qiskit.quantum_info.SparsePauliOp "qiskit.quantum_info.SparsePauliOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -989,7 +989,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -1010,7 +1010,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1019,7 +1019,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -1039,7 +1039,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -1064,7 +1064,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -1088,7 +1088,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -1132,7 +1132,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -1140,7 +1140,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -1161,7 +1161,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -1180,7 +1180,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -1193,7 +1193,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -1208,7 +1208,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -1227,7 +1227,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1236,7 +1236,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1251,7 +1251,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/1.1/transpiler_plugins.mdx b/docs/api/qiskit/1.1/transpiler_plugins.mdx index 6782dcb5610..58d41d2c707 100644 --- a/docs/api/qiskit/1.1/transpiler_plugins.mdx +++ b/docs/api/qiskit/1.1/transpiler_plugins.mdx @@ -129,7 +129,7 @@ There isn’t a limit to the number of plugins a single package can include as l help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/1.1/transpiler_synthesis_plugins.mdx b/docs/api/qiskit/1.1/transpiler_synthesis_plugins.mdx index 203d507be67..82a14e58310 100644 --- a/docs/api/qiskit/1.1/transpiler_synthesis_plugins.mdx +++ b/docs/api/qiskit/1.1/transpiler_synthesis_plugins.mdx @@ -110,7 +110,7 @@ If for some reason the available inputs to the [`run()`](qiskit.transpiler.passe The second step is to expose the [`UnitarySynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin") as a setuptools entry point in the package metadata. This is done by simply adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.unitary_synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.unitary_synthesis"] "special" = "qiskit_plugin_pkg.module.plugin:SpecialUnitarySynthesis" ``` @@ -143,7 +143,7 @@ The above example creates a plugin to synthesize objects of type [`Clifford`](qi The second step is to expose the [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin") as a setuptools entry point in the package metadata. This is done by adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.synthesis"] "clifford.special" = "qiskit_plugin_pkg.module.plugin:SpecialSynthesisClifford" ``` diff --git a/docs/api/qiskit/1.1/visualization.mdx b/docs/api/qiskit/1.1/visualization.mdx index 96b5ac7397f..27c57af0362 100644 --- a/docs/api/qiskit/1.1/visualization.mdx +++ b/docs/api/qiskit/1.1/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/docs/api/qiskit/qasm2.mdx b/docs/api/qiskit/qasm2.mdx index 14b47abaae0..0f1df82c428 100644 --- a/docs/api/qiskit/qasm2.mdx +++ b/docs/api/qiskit/qasm2.mdx @@ -236,7 +236,7 @@ qc.measure([0, 1], [0, 1]) print(qiskit.qasm2.dumps(qc)) ``` -```python +```text OPENQASM 2.0; include "qelib1.inc"; qreg q[2]; @@ -291,7 +291,7 @@ circuit = qiskit.qasm2.loads(program) circuit.draw() ``` -```python +```text ┌───┐ ┌─┐ q_0: ┤ H ├──■──┤M├─── └───┘┌─┴─┐└╥┘┌─┐ @@ -399,7 +399,7 @@ circuit = loads(program, custom_classical=customs) As a language, OpenQASM 2 does not have a way to specify the global phase of a complete program, nor of particular gate definitions. This means that parsers of the language may interpret particular gates with a different global phase than what you might expect. For example, the *de facto* standard library of OpenQASM 2 `qelib1.inc` contains definitions of `u1` and `rz` as follows: -```python +```text gate u1(lambda) q { U(0, 0, lambda) q; } @@ -444,7 +444,7 @@ This will use Qiskit’s [`PhaseGate`](qiskit.circuit.library.PhaseGate "qiskit. Operator(qasm2.loads(program, custom_instructions=custom)) ``` -```python +```text Operator([[1.000000e+00+0.j, 0.000000e+00+0.j], [0.000000e+00+0.j, 6.123234e-17+1.j]], input_dims=(2,), output_dims=(2,)) diff --git a/docs/api/qiskit/qasm3.mdx b/docs/api/qiskit/qasm3.mdx index b22f337ed21..6467aef66ae 100644 --- a/docs/api/qiskit/qasm3.mdx +++ b/docs/api/qiskit/qasm3.mdx @@ -208,7 +208,7 @@ Currently only two high-level functions are offered, as Qiskit support for impor While we are still in the exploratory release period, to use either function, the package `qiskit_qasm3_import` must be installed. This can be done by installing Qiskit with the `qasm3-import` extra, such as by: - ```python + ```text pip install qiskit[qasm3-import] ``` diff --git a/docs/api/qiskit/qiskit.circuit.library.PhaseOracle.mdx b/docs/api/qiskit/qiskit.circuit.library.PhaseOracle.mdx index 2431854d62c..0e6820929c7 100644 --- a/docs/api/qiskit/qiskit.circuit.library.PhaseOracle.mdx +++ b/docs/api/qiskit/qiskit.circuit.library.PhaseOracle.mdx @@ -290,7 +290,7 @@ python_api_name: qiskit.circuit.library.PhaseOracle The following is an example of a CNF expressed in the DIMACS format: - ```python + ```text c DIMACS CNF file with 3 satisfying assignments: 1 -2 3, -1 -2 -3, 1 2 -3. p cnf 3 5 -1 -2 -3 0 diff --git a/docs/api/qiskit/qiskit.providers.fake_provider.Fake20QV1.mdx b/docs/api/qiskit/qiskit.providers.fake_provider.Fake20QV1.mdx index f968d2602e2..67e3c71adc5 100644 --- a/docs/api/qiskit/qiskit.providers.fake_provider.Fake20QV1.mdx +++ b/docs/api/qiskit/qiskit.providers.fake_provider.Fake20QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake20QV1 * coupling\_map: - > ```python + > ```text > 00 ↔ 01 ↔ 02 ↔ 03 ↔ 04 > ↕ ↕ > 05 ↔ 06 ↔ 07 ↔ 08 ↔ 09 diff --git a/docs/api/qiskit/qiskit.providers.fake_provider.Fake27QPulseV1.mdx b/docs/api/qiskit/qiskit.providers.fake_provider.Fake27QPulseV1.mdx index a6c01969d9c..3c0d37daf20 100644 --- a/docs/api/qiskit/qiskit.providers.fake_provider.Fake27QPulseV1.mdx +++ b/docs/api/qiskit/qiskit.providers.fake_provider.Fake27QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake27QPulseV1 * coupling\_map: - > ```python + > ```text > 06 17 > ↕ ↕ > 00 ↔ 01 ↔ 04 ↔ 07 ↔ 10 ↔ 12 ↔ 15 ↔ 18 ↔ 20 ↔ 23 diff --git a/docs/api/qiskit/qiskit.providers.fake_provider.Fake5QV1.mdx b/docs/api/qiskit/qiskit.providers.fake_provider.Fake5QV1.mdx index eae0a396298..a62a49ba002 100644 --- a/docs/api/qiskit/qiskit.providers.fake_provider.Fake5QV1.mdx +++ b/docs/api/qiskit/qiskit.providers.fake_provider.Fake5QV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake5QV1 * coupling\_map: - > ```python + > ```text > 1 > / | > 0 - 2 - 3 diff --git a/docs/api/qiskit/qiskit.providers.fake_provider.Fake7QPulseV1.mdx b/docs/api/qiskit/qiskit.providers.fake_provider.Fake7QPulseV1.mdx index 9e6794fcf38..b89b5f145b4 100644 --- a/docs/api/qiskit/qiskit.providers.fake_provider.Fake7QPulseV1.mdx +++ b/docs/api/qiskit/qiskit.providers.fake_provider.Fake7QPulseV1.mdx @@ -17,7 +17,7 @@ python_api_name: qiskit.providers.fake_provider.Fake7QPulseV1 * coupling\_map: - > ```python + > ```text > 0 ↔ 1 ↔ 3 ↔ 5 ↔ 6 > ↕ ↕ > 2 4 diff --git a/docs/api/qiskit/qpy.mdx b/docs/api/qiskit/qpy.mdx index e06c42029c8..47c346b823d 100644 --- a/docs/api/qiskit/qpy.mdx +++ b/docs/api/qiskit/qpy.mdx @@ -283,7 +283,7 @@ The QPY serialization format is a portable cross-platform binary serialization f A QPY file (or memory object) always starts with the following 6 byte UTF8 string: `QISKIT` which is immediately followed by the overall file header. The contents of the file header as defined as a C struct are: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -295,7 +295,7 @@ struct { From V10 on, a new field is added to the file header struct to represent the encoding scheme used for symbolic expressions: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -328,7 +328,7 @@ Version 12 adds support for: The HEADER struct for an individual circuit has added three `uint32_t` counts of the input, captured and locally declared variables in the circuit. The new form looks like: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -350,7 +350,7 @@ The `HEADER_V12` struct is followed immediately by the same name, global-phase, An `EXPR_VAR_DECLARATION` defines an [`expr.Var`](circuit_classical#qiskit.circuit.classical.expr.Var "qiskit.circuit.classical.expr.Var") instance that is standalone; that is, it represents a self-owned memory location rather than wrapping a [`Clbit`](circuit#qiskit.circuit.Clbit "qiskit.circuit.Clbit") or [`ClassicalRegister`](circuit#qiskit.circuit.ClassicalRegister "qiskit.circuit.ClassicalRegister"). The payload is a C struct: -```python +```c struct { char uuid_bytes[16]; char usage; @@ -400,7 +400,7 @@ Version 11 is identical to Version 10 except for the following. First, the names This represents `Modifier` -```python +```c struct { char type; uint32_t num_ctrl_qubits; @@ -428,7 +428,7 @@ The symbolic\_encoding field is added to the file header, and a new encoding typ The contents of FILE\_HEADER after V10 are defined as a C struct as: -```python +```c struct { uint8_t qpy_version; uint8_t qiskit_major_version; @@ -443,7 +443,7 @@ struct { The `LAYOUT` struct is updated to have an additional `input_qubit_count` field. With version 10 the `LAYOUT` struct is now: -```python +```c struct { char exists; int32_t initial_layout_size; @@ -518,7 +518,7 @@ This represents a literal object in the classical type system, such as an intege To support the use of [`Expr`](circuit_classical#qiskit.circuit.classical.expr.Expr "qiskit.circuit.classical.expr.Expr") nodes in the fields [`IfElseOp.condition`](qiskit.circuit.IfElseOp#condition "qiskit.circuit.IfElseOp.condition"), [`WhileLoopOp.condition`](qiskit.circuit.WhileLoopOp#condition "qiskit.circuit.WhileLoopOp.condition") and `SwitchCaseOp.target`, the INSTRUCTION struct is changed in an ABI compatible-manner to [its previous definition](#qpy-instruction-v5). The new struct is the C struct: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -555,7 +555,7 @@ Version 8 adds support for handling a [`TranspileLayout`](qiskit.transpiler.Tran #### LAYOUT -```python +```c struct { char exists; int32_t initial_layout_size; @@ -573,7 +573,7 @@ Immediately following the `LAYOUT` struct there is a [REGISTERS](#qpy-registers) #### INITIAL\_LAYOUT\_BIT -```python +```c struct { int32_t index; int32_t register_size; @@ -627,7 +627,7 @@ Version 6 adds support for `ScalableSymbolicPulse`. These objects are saved and SymbolicPulse block now starts with SYMBOLIC\_PULSE\_V2 header: -```python +```c struct { uint16_t class_name_size; uint16_t type_size; @@ -650,7 +650,7 @@ With the support of `ScheduleBlock`, now [`QuantumCircuit`](qiskit.circuit.Quant In QPY version 5 and above, -```python +```c struct { char type; } @@ -696,7 +696,7 @@ Note that circuit and schedule block are serialized and deserialized through the [`ScheduleBlock`](qiskit.pulse.ScheduleBlock "qiskit.pulse.ScheduleBlock") block starts with the following header: -```python +```c struct { uint16_t name_size; uint64_t metadata_size; @@ -774,7 +774,7 @@ The key is immediately followed by the channel index serialized as the INSTRUCTI Waveform block starts with WAVEFORM header: -```python +```c struct { double epsilon; uint32_t data_size; @@ -790,7 +790,7 @@ which is followed by `data_size` bytes of complex `ndarray` binary generated by SymbolicPulse block starts with SYMBOLIC\_PULSE header: -```python +```c struct { uint16_t type_size; uint16_t envelope_size; @@ -812,7 +812,7 @@ The MAPPING is a representation for arbitrary mapping object. This is a fixed le A MAP\_ITEM starts with a header defined as: -```python +```c struct { uint16_t key_size; char type; @@ -830,7 +830,7 @@ which is immediately followed by the `key_size` utf8 bytes representing the dict The CIRCUIT\_CALIBRATIONS block is a dictionary to define pulse calibrations of the custom instruction set. This block starts with the following CALIBRATION header: -```python +```c struct { uint16_t num_cals; } @@ -838,7 +838,7 @@ struct { which is followed by the `num_cals` length of calibration entries, each starts with the CALIBRATION\_DEF header: -```python +```c struct { uint16_t name_size; uint16_t num_qubits; @@ -855,7 +855,7 @@ The calibration definition header is then followed by `name_size` utf8 bytes of The INSTRUCTION block was modified to add two new fields `num_ctrl_qubits` and `ctrl_state` which are used to model the [`ControlledGate.num_ctrl_qubits`](qiskit.circuit.ControlledGate#num_ctrl_qubits "qiskit.circuit.ControlledGate.num_ctrl_qubits") and [`ControlledGate.ctrl_state`](qiskit.circuit.ControlledGate#ctrl_state "qiskit.circuit.ControlledGate.ctrl_state") attributes. The new payload packed struct format is: -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -878,7 +878,7 @@ The rest of the instruction payload is the same. You can refer to [INSTRUCTIONS] The CUSTOM\_INSTRUCTION block in QPY version 5 adds a new field `base_gate_size` which is used to define the size of the [`qiskit.circuit.Instruction`](qiskit.circuit.Instruction "qiskit.circuit.Instruction") object stored in the `ControlledGate.base_gate` attribute for a custom [`ControlledGate`](qiskit.circuit.ControlledGate "qiskit.circuit.ControlledGate") object. With this change the CUSTOM\_INSTRUCTION metadata block becomes: -```python +```c struct { uint16_t name_size; char type; @@ -908,7 +908,7 @@ Version 4 is identical to [Version 3](#qpy-version-3) except that it adds 2 new The [REGISTERS](#qpy-registers) header format has also been updated to -```python +```c struct { char type; _Bool standalone; @@ -926,7 +926,7 @@ which just adds the `in_circuit` field which represents whether the register is A RANGE is a representation of a `range` object. It is defined as: -```python +```c struct { int64_t start; int64_t stop; @@ -942,7 +942,7 @@ A SEQUENCE is a representation of an arbitrary sequence object. As sequence are A sequence instruction parameter starts with a header defined as: -```python +```c struct { uint64_t size; } @@ -964,7 +964,7 @@ Version 3 of the QPY format is identical to [Version 2](#qpy-version-2) except t This represents the high level [`PauliEvolutionGate`](qiskit.circuit.library.PauliEvolutionGate "qiskit.circuit.library.PauliEvolutionGate") -```python +```c struct { uint64_t operator_count; _Bool standalone_op; @@ -984,7 +984,7 @@ This is immediately followed by `operator_count` elements defined by the [SPARSE This represents an instance of [`SparsePauliOp`](qiskit.quantum_info.SparsePauliOp "qiskit.quantum_info.SparsePauliOp"). -```python +```c struct { uint32_t pauli_op_size; } @@ -1002,7 +1002,7 @@ Version 3 of the QPY format also defines a struct format to represent a `Paramet A PARAMETER\_VECTOR\_ELEMENT represents a `ParameterVectorElement` object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER\_VECTOR\_ELEMENT are defined as: -```python +```c struct { uint16_t vector_name_size; uint64_t vector_size; @@ -1023,7 +1023,7 @@ Additionally, since QPY format version v3 distinguishes between a [`Parameter`]( A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression") object that the data for an INSTRUCTION\_PARAM. The contents of a PARAMETER\_EXPR are defined as: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1032,7 +1032,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Following that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char symbol_type; char type; @@ -1052,7 +1052,7 @@ Version 2 of the QPY format is identical to version 1 except for the HEADER sect The contents of HEADER are defined as a C struct are: -```python +```c struct { uint16_t name_size; char global_phase_type; @@ -1077,7 +1077,7 @@ This is immediately followed by `name_size` bytes of utf8 data for the name of t The contents of HEADER as defined as a C struct are: -```python +```c struct { uint16_t name_size; double global_phase; @@ -1101,7 +1101,7 @@ The METADATA field is a UTF8 encoded JSON string. After reading the HEADER (whic The contents of REGISTERS is a number of REGISTER object. If num\_registers is > 0 then after reading METADATA you read that number of REGISTER structs defined as: -```python +```c struct { char type; _Bool standalone; @@ -1145,7 +1145,7 @@ This section specifies custom definitions for any of the instructions in the cir CUSTOM\_DEFINITION\_HEADER contents are defined as: -```python +```c struct { uint64_t size; } @@ -1153,7 +1153,7 @@ struct { If size is greater than 0 that means the circuit contains custom instruction(s). Each custom instruction is defined with a CUSTOM\_INSTRUCTION block defined as: -```python +```c struct { uint16_t name_size; char type; @@ -1174,7 +1174,7 @@ If `custom_definition` is `True` that means that the immediately following `size The contents of INSTRUCTIONS is a list of INSTRUCTION metadata objects -```python +```c struct { uint16_t name_size; uint16_t label_size; @@ -1193,7 +1193,7 @@ This is immediately followed by the INSTRUCTION\_ARG structs for the list of arg The contents of each INSTRUCTION\_ARG is: -```python +```c struct { char type; uint32_t index; @@ -1206,7 +1206,7 @@ After all arguments for an instruction the parameters are specified with `num_pa The contents of each INSTRUCTION\_PARAM is: -```python +```c struct { char type; uint64_t size; @@ -1221,7 +1221,7 @@ After each INSTRUCTION\_PARAM the next `size` bytes are the parameter’s data. A PARAMETER represents a [`Parameter`](qiskit.circuit.Parameter "qiskit.circuit.Parameter") object the data for a INSTRUCTION\_PARAM. The contents of the PARAMETER are defined as: -```python +```c struct { uint16_t name_size; char uuid[16]; @@ -1240,7 +1240,7 @@ A PARAMETER\_EXPR represents a [`ParameterExpression`](qiskit.circuit.ParameterE The PARAMETER\_EXPR data starts with a header: -```python +```c struct { uint64_t map_elements; uint64_t expr_size; @@ -1249,7 +1249,7 @@ struct { Immediately following the header is `expr_size` bytes of utf8 data containing the expression string, which is the sympy srepr of the expression for the parameter expression. Follwing that is a symbol map which contains `map_elements` elements with the format -```python +```c struct { char type; uint64_t size; @@ -1264,7 +1264,7 @@ Which is followed immediately by `PARAMETER` object (both the struct and utf8 na When representing a double precision complex value in QPY the following struct is used: -```python +```c struct { double real; double imag; diff --git a/docs/api/qiskit/release-notes/1.2.mdx b/docs/api/qiskit/release-notes/1.2.mdx index c8153a0b11a..4fe7a3551a0 100644 --- a/docs/api/qiskit/release-notes/1.2.mdx +++ b/docs/api/qiskit/release-notes/1.2.mdx @@ -368,7 +368,7 @@ The Qiskit 1.2.0 release focuses mainly on improving performance and quality of * The user configuration file has a new option `circuit_idle_wires`, which takes a Boolean value. This allows users to set their preferred default behavior of the `idle_wires` option of the circuit drawers [`QuantumCircuit.draw()`](/api/qiskit/qiskit.circuit.QuantumCircuit#draw "qiskit.circuit.QuantumCircuit.draw") and [`circuit_drawer()`](/api/qiskit/qiskit.visualization.circuit_drawer "qiskit.visualization.circuit_drawer"). For example, adding a section to `~/.qiskit/settings.conf` with: - ```python + ```text [default] circuit_idle_wires = false ``` diff --git a/docs/api/qiskit/transpiler_plugins.mdx b/docs/api/qiskit/transpiler_plugins.mdx index 94089ad889f..d4b7d6141a8 100644 --- a/docs/api/qiskit/transpiler_plugins.mdx +++ b/docs/api/qiskit/transpiler_plugins.mdx @@ -129,7 +129,7 @@ There isn’t a limit to the number of plugins a single package can include as l help(basic_plugin) ``` - ```python + ```text Help on BasicSwapPassManager in module ...preset_passmanagers.builtin_plugins object: class BasicSwapPassManager(...preset_passmanagers.plugin.PassManagerStagePlugin) diff --git a/docs/api/qiskit/transpiler_synthesis_plugins.mdx b/docs/api/qiskit/transpiler_synthesis_plugins.mdx index ad9eae981b5..11cde4f1f4e 100644 --- a/docs/api/qiskit/transpiler_synthesis_plugins.mdx +++ b/docs/api/qiskit/transpiler_synthesis_plugins.mdx @@ -110,7 +110,7 @@ If for some reason the available inputs to the [`run()`](qiskit.transpiler.passe The second step is to expose the [`UnitarySynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.UnitarySynthesisPlugin") as a setuptools entry point in the package metadata. This is done by simply adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.unitary_synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.unitary_synthesis"] "special" = "qiskit_plugin_pkg.module.plugin:SpecialUnitarySynthesis" ``` @@ -143,7 +143,7 @@ The above example creates a plugin to synthesize objects of type [`Clifford`](qi The second step is to expose the [`HighLevelSynthesisPlugin`](qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin") as a setuptools entry point in the package metadata. This is done by adding an `entry-points` table in `pyproject.toml` for the plugin package with the necessary entry points under the `qiskit.synthesis` namespace. For example: -```python +```toml [project.entry-points."qiskit.synthesis"] "clifford.special" = "qiskit_plugin_pkg.module.plugin:SpecialSynthesisClifford" ``` diff --git a/docs/api/qiskit/visualization.mdx b/docs/api/qiskit/visualization.mdx index 862659a2439..846405a42a5 100644 --- a/docs/api/qiskit/visualization.mdx +++ b/docs/api/qiskit/visualization.mdx @@ -20,7 +20,7 @@ The visualization module contain functions that visualizes measurement outcome c To use visualization functions, you are required to install visualization optionals to your development environment: -```python +```bash pip install 'qiskit[visualization]' ``` diff --git a/scripts/js/lib/api/htmlToMd.test.ts b/scripts/js/lib/api/htmlToMd.test.ts index 8ddec07fc43..96147784198 100644 --- a/scripts/js/lib/api/htmlToMd.test.ts +++ b/scripts/js/lib/api/htmlToMd.test.ts @@ -100,15 +100,17 @@ Can be either (1) a dictionary mapping XX angle values to fidelity at that angle // Transform code blocks // ------------------------------------------------------------------ -test("translate codeblocks to code fences with lang python", async () => { +test("translate codeblocks to code fences with default lang python", async () => { expect( await toMd(` +
QiskitRuntimeService.backends(
     filters=lambda b: b.max_shots > 50000)
 QiskitRuntimeService.backends(
     filters=lambda x: ("rz" in x.basis_gates )
 
+
`), ).toEqual(`\`\`\`python @@ -120,6 +122,28 @@ QiskitRuntimeService.backends( `); }); +test("translate codeblocks to code fences with lang c", async () => { + expect( + await toMd(` +
+
+
QiskitRuntimeService.backends(
+    filters=lambda b: b.max_shots > 50000)
+QiskitRuntimeService.backends(
+    filters=lambda x: ("rz" in x.basis_gates )
+
+
+
+ `), + ).toEqual(`\`\`\`c +QiskitRuntimeService.backends( + filters=lambda b: b.max_shots > 50000) +QiskitRuntimeService.backends( + filters=lambda x: ("rz" in x.basis_gates ) +\`\`\` +`); +}); + // ------------------------------------------------------------------ // Transform methods and attributes // ------------------------------------------------------------------ diff --git a/scripts/js/lib/api/processHtml.ts b/scripts/js/lib/api/processHtml.ts index 7a4bac23c8b..3742fd4ee32 100644 --- a/scripts/js/lib/api/processHtml.ts +++ b/scripts/js/lib/api/processHtml.ts @@ -170,14 +170,30 @@ export function handleSphinxDesignCards( }); } +function detectLanguage($pre: Cheerio): string | null { + // Two levels up from `pre` should have class `highlight-` + const detectedLanguage = $pre + .parent() + .parent()[0] + .attribs.class.match(/(?<=highlight-)\w+/); + if (!detectedLanguage) return "python"; + const langName = detectedLanguage[0]; + if (langName === "none") return null; + if (langName === "default") return "python"; + if (langName === "ipython3") return "python"; + return langName; +} + export function addLanguageClassToCodeBlocks( $: CheerioAPI, $main: Cheerio, ): void { $main.find("pre").each((_, pre) => { const $pre = $(pre); + const language = detectLanguage($pre); + const languageClass = language ? `language-${language}` : ""; $pre.replaceWith( - `
${$pre.html()}
`, + `
${$pre.html()}
`, ); }); }