Conversation
…god-class-logic # Conflicts: # merlin/algorithms/layer.py
…ability-distribution
…id-god-class-logic PML-133: refactor QuantumLayer.init into composable setup steps
…ability-distribution
…' of github.com:jsenellart/merlin into PML-120-typed-state-vector-and-probability-distribution
…-probability-distribution PML-120 typed state vector and probability distribution
PML-147 MeasurementStrategy.partial() factory
PML-140 PartialMeasurement & PartialMeasurementBranch
…arious situations work
Still need to implement more tests and change the documentation
PML-175: Doc update 2/3
removed try/catch of standard imports defined constants at top of file for retry numbers
# Conflicts: # docs/source/api_reference/api/merlin.core.generators.rst # docs/source/api_reference/api/merlin.core.rst # docs/source/reproduced_papers/reproductions/qllm_finetuning.rst # merlin/utils/__init__.py
remove legacy generator helps and uunsed featureencoder + normalize u…
#PML_163 MerlinProcessor docs update
#PML-115 Scaleway session support
…d of warning, change IS to is in conftest
…onfigs and changed platform name
fix RemoteProcesser(platform, token) not working
#PML_163_last changes
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 143e3324e4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Update release/0.3.0 so it is up to date with main
ben9871
approved these changes
Feb 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.3.0 Perception
New features:
MeasurementStrategy.partial(modes=[])allows partial measurement on a subset of modes returning probs, amplitudes and outputsMerlinProcessorinput via Session instantiation allows link to Scaleway and other providersStateVectortyped class which stores info and allows advanced manipulation of complex tensorsStateVectorallows the creation of sparse tensors for complex tensors to optimise memory usageProbabilityDistributiontyped class which stores info and allows advanced manipulation of probabilty outputsQuantumLayersupports typed tensor output containing information about tensor photon and mode countMeasurementStrategy.PROBABILITIESmoves toMeasurementStrategy.probs()backwards compatibility + warning maintainedMeasurementStrategy.MODE_EXPECTATIONSmoves toMeasurementStrategy.mode_expectations()Backwards compatibility maintained but warnings for 0.4 applied
MeasurementStrategy.AMPLITUDESmoves toMeasurementStrategy.amplitudes()backwards compatibility + warning maintainedComputationSpacemoves toMeasurementStrategyoptions from init i.eMeasurementStrategy.probs(ComputationSpace=UNBUNCHED)Backwards compatibility maintained but warnings for 0.4 applied
MeasurementStrategycan take grouping as an additional argument e.gMeasurementStrategy.probs( grouping=LexGrouping())MeasurementStrategyinstead ofOutputMappingStateVectorinput intoQuantumLayerto replaceamplitude_encoding=TrueBooleanBackwards compatibility maintained but warnings for 0.4 applied
QuantumLayer.simple()now has interferometers before and after encoding, with a limit to the number of encoded featuresBreaking changes:
Related Issue
PML-179
Type of change
Proposed changes
How to test / How to run
Screenshots / Logs (optional)
Performance considerations (optional)
Documentation
Checklist