• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qiskit-community / qiskit-machine-learning
90%

Build:
DEFAULT BRANCH: main
Repo Added 05 Jun 2023 05:56PM UTC
Files 123
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • AC/intersphinx-cloud
  • PR_NTangled
  • Update-CODEOWNERS
  • Update-migration-guide
  • VFF_PR
  • add-arxiv-shield
  • add-sbplx-optimizer
  • add-support-py313
  • bump-version-pre-release
  • cct_fns_use
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/download-artifact-5
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/upload-artifact-5
  • edoaltamura-coveralls-fix
  • edoaltamura-fix-toxini-qiskit
  • edoaltamura-pin-qiskit-2
  • enh-docs-samplerqnn-outputshape
  • feature-predict-probabilities
  • feature-support-for-different-v2-primitives
  • feature/phase-of-matter-dataset
  • fischer-info
  • fix-black-version
  • fix-callback-nonscipy-optimizer
  • fix-callback_trainable_model
  • fix-copyright
  • fix-mypy-typing
  • fix-tox-ini
  • fix-valueerror-basekernel
  • fix/samplerqnn-postprocess-layout
  • fix_ci
  • fix_rnd_ci
  • fix_trainable_kernels
  • fixes_mypy
  • mergify/bp/stable/0.8/pr-862
  • mergify/bp/stable/0.8/pr-875
  • mergify/bp/stable/0.8/pr-878
  • mergify/bp/stable/0.8/pr-879
  • mergify/bp/stable/0.8/pr-884
  • mergify/bp/stable/0.8/pr-886
  • mergify/bp/stable/0.8/pr-894
  • mergify/bp/stable/0.8/pr-919
  • mergify/bp/stable/0.8/pr-925
  • mergify/bp/stable/0.8/pr-926
  • mergify/bp/stable/0.8/pr-933
  • mergify/bp/stable/0.8/pr-944
  • mergify/bp/stable/0.8/pr-964
  • mergify/bp/stable/0.8/pr-981
  • mergify/bp/stable/0.8/pr-982
  • paper-citation
  • pin-scipy1_15
  • pre-release-0.8.1
  • pre-release-v-bump
  • release_0_8_2
  • remove-psutil
  • reno_4_cct_fns
  • restore-qiskit-version
  • scikit
  • scipy1p16
  • stable/0.6
  • stable/0.7
  • stable/0.8
  • support-py313
  • typo
  • update-contributing-guide
  • update-outshape-dec-tutorial
  • update-serialisation
  • update_tutorials

22 Jun 2026 05:59AM UTC coverage: 89.802% (+0.1%) from 89.655%
28003054394

push

github

web-flow
Add Phase of Matter quantum dataset generator (#1044)

* Add Phase of Matter quantum dataset generator

Implements phase_of_matter_data() as a new dataset in
qiskit_machine_learning/datasets/phase_of_matter/:

- Four spin-chain Hamiltonians built via SparsePauliOp (no extra deps):
  heisenberg (trivial/topological), haldane (afm/paramagnetic/spt),
  annni (ferromagnetic/paramagnetic/floating/antiphase),
  cluster (haldane/ferromagnetic/antiferromagnetic/trivial)
- Exact ground states via scipy.sparse.linalg.eigsh (default)
- Optional VQE pathway for hardware-experiment workflows
- Follows existing dataset API: training_size, test_size, one_hot,
  formatting, class_labels, include_sample_total, seed, backend
- 55-test suite covering Hermiticity, normalization, eigenstate
  residuals, phase label coverage, shape contracts, reproducibility

Reference: Bermejo-Vega et al., arXiv:2408.12739 (2024)

* Fix CI: copyright, pylint naming/docstrings/spelling, mypy, import order

- Add STFC copyright header to all 8 new files
- Rename variable H -> ham throughout (C0103 invalid-name)
- Add docstrings to all test methods (C0116 missing-function-docstring)
- Move 'from test import' before third-party imports (C0411 wrong-import-order)
- Add :type backend: object to fix W9016 missing-type-doc in two functions
- Replace British spellings with American: normalised, optimisation, mislabelled
- Replace Greek chars in inline comments with ASCII equivalents
- Add Callable type annotation to _fixed_hamiltonian to fix mypy operator error
- Add domain-specific words to .pylintdict for spell check

* Fix CI round 2: spelling, W9016 type doc, doctest skip

- Add rng, geq, ddt, idata, atol, eigh, zxz, simulatable to .pylintdict
- Fix neighbour/favour -> neighbor/favor in _haldane.py
- Fix parameterised/honoured -> parameterized/honored in test file
- Reword 'RNG' -> 'random number generator' in phase_of_matter.py docstring
- Fix Simulable -> Simulatable in paper reference
- Fix... (continued)

225 of 241 new or added lines in 8 files covered. (93.36%)

5398 of 6011 relevant lines covered (89.8%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
6011 RELEVANT LINES 5398 COVERED LINES
0.9 HITS PER LINE
Source Files on main
  • Tree
  • List 123
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28003054394 main Add Phase of Matter quantum dataset generator (#1044) * Add Phase of Matter quantum dataset generator Implements phase_of_matter_data() as a new dataset in qiskit_machine_learning/datasets/phase_of_matter/: - Four spin-chain Hamiltonians built ... push 23 Jun 2026 05:45AM UTC web-flow github
89.8
27933409312 main Add Phase of Matter quantum dataset generator (#1044) * Add Phase of Matter quantum dataset generator Implements phase_of_matter_data() as a new dataset in qiskit_machine_learning/datasets/phase_of_matter/: - Four spin-chain Hamiltonians built ... push 22 Jun 2026 08:33AM UTC web-flow github
89.8
27860912292 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 20 Jun 2026 05:55AM UTC web-flow github
89.66
27808620671 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 19 Jun 2026 07:01AM UTC web-flow github
89.66
27738703234 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 18 Jun 2026 06:19AM UTC web-flow github
89.66
27598295433 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 16 Jun 2026 07:10AM UTC web-flow github
89.66
27527513486 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 15 Jun 2026 07:01AM UTC web-flow github
89.66
27489327806 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 14 Jun 2026 06:13AM UTC web-flow github
89.66
27254602310 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 10 Jun 2026 08:50AM UTC web-flow github
89.66
27184761189 main Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041) * fix: marginalise ancilla qubits in SamplerQNN._postprocess The previous filter (ki < 2**num_virtual_qubits) discarded valid measurements when logical qubits were mapp... push 09 Jun 2026 08:27AM UTC web-flow github
89.66
See All Builds (1142)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc