TensorFlow Quantum 0.6.0
New Features / Improvements
tfq.math
now contains high performance fixed bond dimension MPS simulation to sample, compute expectation values and compute expectation values via sampling from 1D non periodic circuits.
tfq.math.mps_1d_expectation
tfq.math.mps_1d_sample
tfq.math.mps_1d_sampled_expectation
These are fully parallelized and based on new qsim MPS functionality found here: https://github.com/quantumlib/qsim/blob/d063d427d1f55d580416259233ce9c64037c00a0/lib/mps_simulator.h#L1
Instances of cirq.LineQubit
are now supported when serializing circuits and paulisum objects.
tfq.optimizers
now contains an implementation of SPSA optimization: https://www.jhuapl.edu/spsa/
tfq.optimizers.spsa_minimize
.
Other
Minor CPU performance boosts from qsim upgrades.
TFQ now relies on TensorFlow version 2.7.0.
New tutorials that can be found on website.
Full commit list:
- Bump working version to 0.6.0 by @MichaelBroughton in #570
- Remove -q flag from pip install in notebooks. by @MichaelBroughton in #575
- Quantum reinforcement learning tutorial by @sjerbi in #541
- Removed fixed grpcio version. by @MichaelBroughton in #584
- Cleaned up latex and docs rendering. by @MichaelBroughton in #585
- Added new noise tutorial. by @MichaelBroughton in #582
- Upgraded sympy to v1.8. by @MichaelBroughton in #591
- Updated tensorflow.org/quantum landing cards. by @MichaelBroughton in #593
- Pulled out Cirq proto dependency. by @MichaelBroughton in #590
- Ensure gradient of tf.math.fidelity remains float32 when autographed. by @MichaelBroughton in #596
- Fix internal build error by @jaeyoo in #600
- Upgrade to TF2.5.1 by @jaeyoo in #612
- Upgrade CI to 18.04 to follow TF 2.5.0 by @MichaelBroughton in #613
- Update concepts.md by @MichaelBroughton in #626
- Update design.md by @MichaelBroughton in #627
- importlib.reload(pkg_resources) for tensorflow.org by @MarkDaoust in #631
- Fix QRL tutorial by @sjerbi in #634
- Add cirq.LineQubit support to op_deserializer.py. by @MichaelBroughton in #633
- Add support for cirq.LineQubit to op_serializer.py by @MichaelBroughton in #632
- Increment requirement to Cirq to 0.13.1 by @tonybruguier in #621
- Add support for LineQubit to serializer.py by @MichaelBroughton in #637
- Fix auditwheel script by @jaeyoo in #639
- Finish support for LineQubit everywhere. by @MichaelBroughton in #641
- Implement serialization logic for ProjectorSums. by @tonybruguier in #623
- Run format_all script by @tonybruguier in #644
- change import to cirq_google from cirq.google by @tonybruguier in #643
- Upgrade to TF 2.7.0. by @MichaelBroughton in #650
- Add
tfq.math.mps_1d_expectation
for 1D MPS by @jaeyoo in #610 - update qsim to latest version. by @MichaelBroughton in #651
- Add mps 1d Sample / SampledExpectation ops by @jaeyoo in #654
- Add SPSA optimizer by @lockwo in #653
- Update MPS docs by @MichaelBroughton in #657
- Loosen cirq requirements in anticipation of release. by @MichaelBroughton in #659
- constrain xticks in two plt figures by @tbcdebug in #658
New Contributors
Full Changelog: v0.5.0...v0.6.0