Skip to content

Conversation

@shinaoka
Copy link
Member

@shinaoka shinaoka commented Jan 1, 2026

This PR updates T4AMPOContractions.jl to be compatible with T4ATensorCI v0.12.

Changes

  • Updated Project.toml: T4ATensorCI version constraint from 0.11 to 0.12
  • Removed duplicate function definitions that are now in T4ATensorCI v0.12
  • Imported and re-exported utility functions from T4ATensorCI
  • Temporarily skip Aqua and JET tests if packages are not available

Testing

  • Package precompiles successfully
  • Some tests pass, but some tests may need additional fixes (CachedFunction export issues)

- Update Project.toml: T4ATensorCI version constraint from 0.11 to 0.12
- Remove duplicate function definitions that are now in T4ATensorCI v0.12:
  - kronecker functions in tensorci2.jl
  - Base.length, Base.lastindex, Base.getindex, Base.show in contraction.jl
  - _unfuse_idx, _fuse_idx in contraction.jl
  - evaluate methods in contraction.jl
  - Contraction callable methods in contraction.jl
  - contract_naive with Contraction argument in contraction.jl
  - _reshape_fusesites, _reshape_splitsites, _findinitialpivots in contraction.jl
- Import and re-export utility functions from T4ATensorCI:
  - maxabs, pushunique!, isconstant, randomsubset, isnested, CachedFunction
- Temporarily skip Aqua and JET tests if packages are not available
- Add convert method from InverseTensorTrain to SiteTensorTrain
- Add Base.convert for InverseTensorTrain to SiteTensorTrain
- Fix undefined variable issues: disc, Ci_local, mpo
- Initialize disc in all code paths
- Fix variable scoping issues in MPI code
@shinaoka shinaoka force-pushed the update-t4atensorci-0.12 branch from 05b067d to 46476df Compare January 1, 2026 01:32
- Add T4ARegistry registration step to test and docs jobs
- Required for resolving T4ATensorCI v0.12.0 dependency
- Change Random compat from 1.10.0 to 1 (less restrictive)
- Move registry addition after cache step to avoid warnings
- This should fix CI failures related to Random version resolution
@shinaoka shinaoka closed this Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants