Ffsim

Latest version: v0.0.52

Safety actively analyzes 722631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

0.0.52

What's Changed
* In Molecular Hamiltonian linear operator, only add constant when it's nonzero by kevinsung in https://github.com/qiskit-community/ffsim/pull/370
* test that no warnings are raised in Python files by kevinsung in https://github.com/qiskit-community/ffsim/pull/372
* (BREAKING CHANGE) Replace n_qubits argument in ffsim.qiskit.jordan_wigner with norb by kevinsung in https://github.com/qiskit-community/ffsim/pull/374


**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.51...v0.0.52

0.0.51

What's Changed
* Support simulating Qiskit circuits with Qiskit gates by kevinsung in https://github.com/qiskit-community/ffsim/pull/368


**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.50...v0.0.51

0.0.50

What's Changed
* Support Python 3.13 by kevinsung in https://github.com/qiskit-community/ffsim/pull/356
* add FermionOperator.simplify by kevinsung in https://github.com/qiskit-community/ffsim/pull/358
* check type of bitstring_type in convert_bitstring_type by kevinsung in https://github.com/qiskit-community/ffsim/pull/362
* run Cargo clippy to fix CI by kevinsung in https://github.com/qiskit-community/ffsim/pull/363
* update ruff to v0.9.9 by kevinsung in https://github.com/qiskit-community/ffsim/pull/365
* add direct test for state vector simulation of Qiskit circuits by kevinsung in https://github.com/qiskit-community/ffsim/pull/364
* fix conversion between spinless ffsim and qiskit vecs by kevinsung in https://github.com/qiskit-community/ffsim/pull/366
* fix MolecularData saving and loading of atom by kevinsung in https://github.com/qiskit-community/ffsim/pull/367


**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.49...v0.0.50

0.0.49

What's Changed
* Remove deprecated functions by kevinsung in https://github.com/qiskit-community/ffsim/pull/338
* Add function to sample random density matrix by kevinsung in https://github.com/qiskit-community/ffsim/pull/339
* Sample random states: raise ValueError if dim is zero by kevinsung in https://github.com/qiskit-community/ffsim/pull/340
* simplify t2 amplitudes tensor reshaping by kevinsung in https://github.com/qiskit-community/ffsim/pull/341
* move slater sampler tests to separate file by kevinsung in https://github.com/qiskit-community/ffsim/pull/342
* factor out orbital rotation from t1 amplitudes function by kevinsung in https://github.com/qiskit-community/ffsim/pull/343
* add interaction_pairs_spin_balanced to variational.util by kevinsung in https://github.com/qiskit-community/ffsim/pull/344
* Add UCJ angles spin-balanced ansatz by kevinsung in https://github.com/qiskit-community/ffsim/pull/345
* move slater tests to correct file by kevinsung in https://github.com/qiskit-community/ffsim/pull/346
* support random real-valued diagonal coulomb hamiltonian by kevinsung in https://github.com/qiskit-community/ffsim/pull/350
* update upload-artifact to v4 by kevinsung in https://github.com/qiskit-community/ffsim/pull/352
* fix CI by kevinsung in https://github.com/qiskit-community/ffsim/pull/354
* Implement trace of FermionOperator by minhctran in https://github.com/qiskit-community/ffsim/pull/349

New Contributors
* minhctran made their first contribution in https://github.com/qiskit-community/ffsim/pull/349

**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.48...v0.0.49

0.0.48

What's Changed
* Add real-valued UCCSD ansatz by kevinsung in https://github.com/qiskit-community/ffsim/pull/327
* better type handling for orb rot <-> params conversion by kevinsung in https://github.com/qiskit-community/ffsim/pull/329
* add missing argument documentation by kevinsung in https://github.com/qiskit-community/ffsim/pull/331
* Add function to return Slater determinant amplitudes by kevinsung in https://github.com/qiskit-community/ffsim/pull/330
* reorganize slater functions by kevinsung in https://github.com/qiskit-community/ffsim/pull/332
* fix numpy array handling in strings to addresses by kevinsung in https://github.com/qiskit-community/ffsim/pull/333
* support interaction pairs for random ucj ops by kevinsung in https://github.com/qiskit-community/ffsim/pull/335
* remove deprecated classes from variational module by kevinsung in https://github.com/qiskit-community/ffsim/pull/336
* enable check-untyped-defs mypy option by kevinsung in https://github.com/qiskit-community/ffsim/pull/337

**The following deprecated functions and classes were removed**:
- ffsim.GivensAnsatzOperator
- ffsim.RealUCJOperator
- ffsim.UCJOperator
- ffsim.qiskit.GivensAnsatzOperatorJW
- ffsim.qiskit.GivensAnsatzOperatorSpinlessJW
- ffsim.qiskit.UCJOperatorJW
- ffsim.random.random_ucj_operator

**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.47...v0.0.48

0.0.47

What's Changed
* fix sampling bit array with zero shots by kevinsung in https://github.com/qiskit-community/ffsim/pull/326


**Full Changelog**: https://github.com/qiskit-community/ffsim/compare/v0.0.46...v0.0.47

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.